From e504e1f08cde5893cf6a6c39fd1029fced21b996 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 4 Aug 2021 09:58:24 +0430 Subject: fix formatting and linting (#1220) --- lua/lsp/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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" -- cgit v1.2.3