From 00c47ab9892403ac223f92186388b5170fba636a Mon Sep 17 00:00:00 2001 From: gradkins <55408513+gradkins@users.noreply.github.com> Date: Thu, 26 Jun 2025 23:42:56 -0400 Subject: [PATCH] Gotten Unreal LSP working on Mac OS --- init.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 0d558624..e1055b20 100644 --- a/init.lua +++ b/init.lua @@ -491,6 +491,8 @@ require('lazy').setup({ }, }, }, + { 'hrsh7th/nvim-cmp' }, + { 'hrsh7th/cmp-nvim-lsp' }, { -- Main LSP Configuration 'neovim/nvim-lspconfig', @@ -687,7 +689,9 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - clangd = {}, + clangd = { + capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities), + }, -- gopls = {}, -- pyright = {}, -- rust_analyzer = {}, @@ -860,7 +864,7 @@ require('lazy').setup({ appearance = { -- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font' -- Adjusts spacing to ensure icons are aligned - nerd_font_variant = 'mono', + nerd_font_variant = 'normal', }, completion = {