diff options
Diffstat (limited to 'lua/lvim/lsp/config.lua')
| -rw-r--r-- | lua/lvim/lsp/config.lua | 32 | 
1 files changed, 13 insertions, 19 deletions
| diff --git a/lua/lvim/lsp/config.lua b/lua/lvim/lsp/config.lua index 96a1b823..358e83f8 100644 --- a/lua/lvim/lsp/config.lua +++ b/lua/lvim/lsp/config.lua @@ -10,6 +10,7 @@ local skipped_servers = {    "eslint",    "eslintls",    "golangci_lint_ls", +  "gradle_ls",    "graphql",    "jedi_language_server",    "ltex", @@ -18,10 +19,12 @@ local skipped_servers = {    "psalm",    "pylsp",    "quick_lint_js", -  "rome",    "reason_ls", +  "rome", +  "ruby_ls",    "scry",    "solang", +  "solc",    "solidity_ls",    "sorbet",    "sourcekit", @@ -30,8 +33,8 @@ local skipped_servers = {    "sqlls",    "sqls",    "stylelint_lsp", -  "tflint",    "svlangserver", +  "tflint",    "verible",    "vuels",  } @@ -46,10 +49,10 @@ return {      signs = {        active = true,        values = { -        { name = "DiagnosticSignError", text = "" }, -        { name = "DiagnosticSignWarn", text = "" }, -        { name = "DiagnosticSignHint", text = "" }, -        { name = "DiagnosticSignInfo", text = "" }, +        { name = "DiagnosticSignError", text = lvim.icons.diagnostics.Error }, +        { name = "DiagnosticSignWarn", text = lvim.icons.diagnostics.Warning }, +        { name = "DiagnosticSignHint", text = lvim.icons.diagnostics.Hint }, +        { name = "DiagnosticSignInfo", text = lvim.icons.diagnostics.Info },        },      },      virtual_text = true, @@ -72,18 +75,13 @@ return {        end,      },    }, -  document_highlight = true, +  document_highlight = false,    code_lens_refresh = true,    float = {      focusable = true,      style = "minimal",      border = "rounded",    }, -  peek = { -    max_height = 15, -    max_width = 30, -    context = 10, -  },    on_attach_callback = nil,    on_init_callback = nil,    automatic_configuration = { @@ -100,12 +98,6 @@ return {        ["gr"] = { vim.lsp.buf.references, "Goto references" },        ["gI"] = { vim.lsp.buf.implementation, "Goto Implementation" },        ["gs"] = { vim.lsp.buf.signature_help, "show signature help" }, -      ["gp"] = { -        function() -          require("lvim.lsp.peek").Peek "definition" -        end, -        "Peek definition", -      },        ["gl"] = {          function()            local config = lvim.lsp.diagnostics.float @@ -143,7 +135,9 @@ return {      },    },    null_ls = { -    setup = {}, +    setup = { +      debug = false, +    },      config = {},    },    ---@deprecated use lvim.lsp.automatic_configuration.skipped_servers instead | 
