diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-01-26 18:52:35 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-01-26 18:52:35 +0000 |
commit | da59f67fab9583600f0cf539d73e31ea04435447 (patch) | |
tree | 8bb677db05de0d6e5a06e6eab2b1c0370df206f4 /.config/nvim | |
parent | 409ecbcd97fa363b052c51d8a6db4856a9075965 (diff) | |
download | dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar.gz dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar.bz2 dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar.lz dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar.xz dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.tar.zst dotfiles-da59f67fab9583600f0cf539d73e31ea04435447.zip |
Disable most of the null-ls modules
Diffstat (limited to '.config/nvim')
-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, + -- }, + -- }) }, }) |