diff options
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/completition/init.lua | 4 | ||||
| -rw-r--r-- | lua/alpha/lsp/servers.lua | 13 |
2 files changed, 3 insertions, 14 deletions
diff --git a/lua/alpha/completition/init.lua b/lua/alpha/completition/init.lua index 35ba27e..92e1f91 100644 --- a/lua/alpha/completition/init.lua +++ b/lua/alpha/completition/init.lua @@ -40,7 +40,7 @@ cmp.setup { { name = "nvim_lsp" }, { name = "path" }, { name = "luasnip" }, - { name = "copilot", group_index = 2 }, + { name = "copilot" }, { name = "buffer", keyword_length = 4, @@ -95,7 +95,7 @@ cmp.setup { }, } -vim.api.nvim_set_hl(0, "CmpItemKindCopilot", {fg ="#6CC644"}) +vim.api.nvim_set_hl(0, "CmpItemKindCopilot", { fg = "#6CC644" }) -- Set configuration for specific filetype. cmp.setup.filetype("gitcommit", { diff --git a/lua/alpha/lsp/servers.lua b/lua/alpha/lsp/servers.lua index c849c13..e9acc4b 100644 --- a/lua/alpha/lsp/servers.lua +++ b/lua/alpha/lsp/servers.lua @@ -12,18 +12,6 @@ local default = function() end return { - -- ["cucumber_language_server"] = function() - -- return { - -- on_attach = lsp_attach, - -- flags = lsp_flags, - -- settings = { - -- cucumber = { - -- features = { "tests/Behat/features/*.feature" }, - -- glue = { "tests/Behat/*.php" }, - -- }, - -- }, - -- } - -- end, ["emmet_ls"] = function() local capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities()) @@ -108,6 +96,7 @@ return { ["language_server_configuration.auto_config"] = false, ["code_transform.import_globals"] = true, ["language_server_phpstan.enabled"] = true, + ["language_server_phpstan.level"] = 7, ["language_server_phpstan.bin"] = "phpstan", }, handlers = { |