diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/lsp.lua | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua index ff46794..de52d28 100644 --- a/.config/nvim/lua/lsp.lua +++ b/.config/nvim/lua/lsp.lua @@ -115,26 +115,26 @@ require("lspconfig").tsserver.setup({ }; }) -require("deno-nvim").setup({ - server = { - root_dir = vim.loop.cwd; - capabilities = capabilities; - on_attach = on_attach; - settings = { - deno = { - unstable = true; - inlayHints = { - enumMemberValues = { enabled = true }; - functionLikeReturnTypes = { enabled = true }; - parameterNames = { enabled = "all" }; - parameterTypes = { enabled = true }; - propertyDeclarationTypes = { enabled = true }; - variableTypes = { enabled = true; suppressWhenTypeMatchesName = false }; - }; - }; - }; - }; -}); +-- require("deno-nvim").setup({ +-- server = { +-- root_dir = vim.loop.cwd; +-- capabilities = capabilities; +-- on_attach = on_attach; +-- settings = { +-- deno = { +-- unstable = true; +-- inlayHints = { +-- enumMemberValues = { enabled = true }; +-- functionLikeReturnTypes = { enabled = true }; +-- parameterNames = { enabled = "all" }; +-- parameterTypes = { enabled = true }; +-- propertyDeclarationTypes = { enabled = true }; +-- variableTypes = { enabled = true; suppressWhenTypeMatchesName = false }; +-- }; +-- }; +-- }; +-- }; +-- }); require("lspconfig").rust_analyzer.setup({ capabilities = capabilities; @@ -223,20 +223,20 @@ null_ls.setup({ sources = { null_ls.builtins.diagnostics.eslint, null_ls.builtins.formatting.eslint, - null_ls.builtins.formatting.lua_format, - null_ls.builtins.formatting.prettier, - null_ls.builtins.formatting.rustfmt, - null_ls.builtins.code_actions.shellcheck, - null_ls.builtins.completion.spell, - null_ls.builtins.diagnostics.tsc, - null_ls.builtins.formatting.deno_fmt, - null_ls.builtins.code_actions.gitsigns.with({ - config = { - filter_actions = function(title) - return title:lower():match("blame") == nil -- filter out blame actions - end, - }, - }) + -- null_ls.builtins.formatting.lua_format, + -- null_ls.builtins.formatting.prettier, + -- null_ls.builtins.formatting.rustfmt, + -- null_ls.builtins.code_actions.shellcheck, + -- null_ls.builtins.completion.spell, + -- null_ls.builtins.diagnostics.tsc, + -- null_ls.builtins.formatting.deno_fmt, + -- null_ls.builtins.code_actions.gitsigns.with({ + -- config = { + -- filter_actions = function(title) + -- return title:lower():match("blame") == nil -- filter out blame actions + -- end, + -- }, + -- }) }, }) |