config: nvim: add LSP support together with mason package manager
This commit is contained in:
parent
ab5cceddab
commit
c058fa22ea
4 changed files with 71 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ cmp.setup({
|
|||
formatting = {
|
||||
format = function(entry, vim_item)
|
||||
vim_item.menu = ({
|
||||
nvim_lsp = '[LSP]',
|
||||
buffer = '[Buffer]',
|
||||
luasnip = '[Snippet]',
|
||||
})[entry.source.name]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue