aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-01-26 18:52:35 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-01-26 18:52:35 +0000
commitda59f67fab9583600f0cf539d73e31ea04435447 (patch)
tree8bb677db05de0d6e5a06e6eab2b1c0370df206f4 /.config/nvim/lua/lsp.lua
parent409ecbcd97fa363b052c51d8a6db4856a9075965 (diff)
downloaddotfiles-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/lua/lsp.lua')
-rw-r--r--.config/nvim/lua/lsp.lua68
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,
+ -- },
+ -- })
},
})