From 8470f7e6da0a2854e0e987369e9e216f391cc38f Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 26 Jul 2023 21:07:39 +0200 Subject: Created user command NullLsToggle --- lua/plugins/lsp.lua | 4 ++++ 1 file changed, 4 insertions(+) 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, {}) -- cgit v1.2.3