Add lsp as source in autocompletion

This commit is contained in:
Tyler Kelley 2024-05-15 15:10:04 -05:00
parent 84c0f6d9ca
commit 7001265426

View File

@ -25,6 +25,7 @@ cmp.setup({
}),
-- sources for autocompletion
sources = cmp.config.sources({
{ name = "nvim_lsp" }, -- language servers
{ name = "luasnip" }, -- snippets
{ name = "buffer" }, -- text within current buffer
{ name = "path" }, -- file system paths