Skip to content

Commit 00c47ab

Browse files
committed
Gotten Unreal LSP working on Mac OS
1 parent 0bc0240 commit 00c47ab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

init.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,8 @@ require('lazy').setup({
491491
},
492492
},
493493
},
494+
{ 'hrsh7th/nvim-cmp' },
495+
{ 'hrsh7th/cmp-nvim-lsp' },
494496
{
495497
-- Main LSP Configuration
496498
'neovim/nvim-lspconfig',
@@ -687,7 +689,9 @@ require('lazy').setup({
687689
-- - settings (table): Override the default settings passed when initializing the server.
688690
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
689691
local servers = {
690-
clangd = {},
692+
clangd = {
693+
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities),
694+
},
691695
-- gopls = {},
692696
-- pyright = {},
693697
-- rust_analyzer = {},
@@ -860,7 +864,7 @@ require('lazy').setup({
860864
appearance = {
861865
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
862866
-- Adjusts spacing to ensure icons are aligned
863-
nerd_font_variant = 'mono',
867+
nerd_font_variant = 'normal',
864868
},
865869

866870
completion = {

0 commit comments

Comments
 (0)