diff options
author | Abouzar Parvan <[email protected]> | 2021-08-04 09:58:24 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-04 05:28:24 +0000 |
commit | e504e1f08cde5893cf6a6c39fd1029fced21b996 (patch) | |
tree | 61d0a53c4699bafed7c293c09927d74d2f6609c8 | |
parent | 686e54ab0dfa5ffcac37599e5de7984f1d9e738f (diff) |
fix formatting and linting (#1220)
-rw-r--r-- | ftplugin/toml.lua | 2 | ||||
-rw-r--r-- | lua/lsp/null-ls.lua | 2 | ||||
-rw-r--r-- | utils/lush-template/lua/lush_theme/lush_template.lua | 1 |
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 { |