summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lsp/null-ls.lua2
1 files changed, 1 insertions, 1 deletions
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"