Remove snippets and buffer completion from nvim cmp, Copilot does a great job of this, now we only have completions for defined variables, functions, and keywords etc
This commit is contained in:
parent
14aaeece77
commit
ec81bcfa73
2 changed files with 9 additions and 10 deletions
|
|
@ -7,6 +7,7 @@ local function setup_lsp(server_names)
|
|||
local server = lspconfig[server_name]
|
||||
if server then
|
||||
local server_table = require("language_servers/" .. server_name)
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = false
|
||||
server_table.capabilities = capabilities
|
||||
server_table.on_attach = function(client, bufnr)
|
||||
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue