Bläddra i källkod

fix formatting and linting (#1220)

Abouzar Parvan 4 år sedan
förälder
incheckning
e504e1f08c
3 ändrade filer med 2 tillägg och 3 borttagningar
  1. 1 1
      ftplugin/toml.lua
  2. 1 1
      lua/lsp/null-ls.lua
  3. 0 1
      utils/lush-template/lua/lush_theme/lush_template.lua

+ 1 - 1
ftplugin/toml.lua

@@ -1 +1 @@
-vim.cmd[[setlocal commentstring=#%s]]
+vim.cmd [[setlocal commentstring=#%s]]

+ 1 - 1
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"

+ 0 - 1
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 {