summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftplugin/toml.lua2
-rw-r--r--lua/lsp/null-ls.lua2
-rw-r--r--utils/lush-template/lua/lush_theme/lush_template.lua1
3 files changed, 2 insertions, 3 deletions
diff --git a/ftplugin/toml.lua b/ftplugin/toml.lua
index 0b5f845f..701685a4 100644
--- a/ftplugin/toml.lua
+++ b/ftplugin/toml.lua
@@ -1 +1 @@
-vim.cmd[[setlocal commentstring=#%s]]
+vim.cmd [[setlocal commentstring=#%s]]
diff --git a/lua/lsp/null-ls.lua b/lua/lsp/null-ls.lua
index 8bdea227..04e35976 100644
--- a/lua/lsp/null-ls.lua
+++ b/lua/lsp/null-ls.lua
@@ -33,7 +33,7 @@ local function validate_nodejs_provider(requests, provider)
--- new logic to set root_dir
local ts_client = require("utils").get_active_client_by_ft "typescript"
if ts_client then
- local root_dir = ts_client.config.root_dir
+ root_dir = ts_client.config.root_dir
end
if ts_client == nil then
u.lvim_log "Unable to determine root directory since tsserver didn't start correctly"
diff --git a/utils/lush-template/lua/lush_theme/lush_template.lua b/utils/lush-template/lua/lush_theme/lush_template.lua
index 26b04d8b..75d9ed7e 100644
--- a/utils/lush-template/lua/lush_theme/lush_template.lua
+++ b/utils/lush-template/lua/lush_theme/lush_template.lua
@@ -43,7 +43,6 @@
-- `:lua require('lush').ify()`
local lush = require "lush"
-local hsl = lush.hsl
local theme = lush(function()
return {