4 {"j-hui/fidget.nvim", config = true}, |
4 {"j-hui/fidget.nvim", config = true}, |
5 |
5 |
6 { |
6 { |
7 "williamboman/mason-lspconfig.nvim", |
7 "williamboman/mason-lspconfig.nvim", |
8 config = function(plugin, opts) |
8 config = function(plugin, opts) |
|
9 require("mason-lspconfig").setup() |
9 require("mason-lspconfig").setup_handlers({ |
10 require("mason-lspconfig").setup_handlers({ |
10 function(server) |
11 function(server) |
11 require("lspconfig")[server].setup({}) |
12 require("lspconfig")[server].setup({}) |
12 end, |
13 end, |
13 }) |
14 }) |
40 ["<Right>"] = cmp.mapping.confirm({select = true}), |
42 ["<Right>"] = cmp.mapping.confirm({select = true}), |
41 }), |
43 }), |
42 sources = cmp.config.sources({ |
44 sources = cmp.config.sources({ |
43 { name = "nvim_lsp" }, |
45 { name = "nvim_lsp" }, |
44 { name = "nvim_lsp_signature_help" }, |
46 { name = "nvim_lsp_signature_help" }, |
|
47 { name = "nvim_lua" }, |
45 { name = "buffer" }, |
48 { name = "buffer" }, |
46 { name = "path" }, |
49 { name = "path" }, |
47 }), |
50 }), |
48 experimental = { |
51 experimental = { |
49 ghost_text = { |
52 ghost_text = { |