File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ local function config()
3030 -- cmp-nvim supports different completion results (ie capabilities) on top of
3131 -- neovim's omnifunc capability.
3232 -- cmp-nvim is a LSP client, it must indicate to the LSP server what capabilities
33- -- the LSP client support so that the LSP server can serve those completion canditates
33+ -- the LSP client support so that the LSP server can serve those completion canditates,
34+ -- in addition to the default capabilities
3435 local client_lsp_capabilties = cmp .default_capabilities (default_capabilities )
3536
3637 -- default
@@ -115,7 +116,11 @@ local function config()
115116 vim_lsp ,
116117 " lua_ls" ,
117118 client_lsp_capabilties ,
118- {},
119+ {
120+ Lua = {
121+ hint = { enable = true , semicolon = " Disable" }
122+ }
123+ },
119124 {}
120125 )
121126 -- latex
You can’t perform that action at this time.
0 commit comments