mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-30 16:25:41 +00:00
feat: lsp changes
This commit is contained in:
parent
d24e7c2235
commit
5a88b903c1
1 changed files with 7 additions and 7 deletions
|
@ -76,16 +76,16 @@ cmp.setup({
|
|||
end, { "i", "s", "c" }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "copilot" },
|
||||
{ name = "codeium" },
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "git" },
|
||||
{ name = "copilot", group_index = 1, max_item_count = 2 },
|
||||
{ name = "codeium", group_index = 1, max_item_count = 2 },
|
||||
{ name = "nvim_lsp", group_index = 2, max_item_count = 10 },
|
||||
{ name = "git", group_index = 3, max_item_count = 5 },
|
||||
-- { name = 'vsnip' }, -- For vsnip users.
|
||||
-- { name = 'luasnip' }, -- For luasnip users.
|
||||
-- { name = 'ultisnips' }, -- For ultisnips users.
|
||||
-- { name = 'snippy' }, -- For snippy users.
|
||||
}, {
|
||||
{ name = "buffer" },
|
||||
{ name = "buffer", group_index = 3, max_item_count = 5 },
|
||||
}),
|
||||
})
|
||||
|
||||
|
@ -132,7 +132,7 @@ require("mason-lspconfig").setup({
|
|||
"angularls", -- angular
|
||||
"ansiblels", -- ansible
|
||||
"bashls", -- bash
|
||||
"bufls", -- buf
|
||||
"buf_ls", -- buf
|
||||
"cssls", -- css
|
||||
"denols", -- deno
|
||||
"dockerls", -- docker
|
||||
|
@ -145,7 +145,7 @@ require("mason-lspconfig").setup({
|
|||
"htmx", -- htmx
|
||||
"helm_ls", -- helm
|
||||
"jsonls", -- json
|
||||
"tsserver", -- javascript/typescript
|
||||
"ts_ls", -- javascript/typescript
|
||||
"marksman", -- markdown
|
||||
"vale_ls", -- markdown/prose
|
||||
"swift_mesonls", -- meson
|
||||
|
|
Loading…
Reference in a new issue