aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-07-26 21:07:39 +0200
committersrdusr <trevorgray@srdusr.com>2023-07-26 21:07:39 +0200
commit8470f7e6da0a2854e0e987369e9e216f391cc38f (patch)
tree86686cabc02919491ca22b7abc7d350e3576fcf9 /lua
parent08e78f806cfcc7751a9db83b37aad054230c1920 (diff)
downloaddotfiles-8470f7e6da0a2854e0e987369e9e216f391cc38f.tar.gz
dotfiles-8470f7e6da0a2854e0e987369e9e216f391cc38f.zip
Created user command NullLsToggle
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/lsp.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index e7bb1aa..fcdc529 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -494,3 +494,7 @@ end
-- end
-- end
--end
+vim.api.nvim_create_user_command("NullLsToggle", function()
+ -- you can also create commands to disable or enable sources
+ require("null-ls").toggle({})
+end, {})