Procházet zdrojové kódy

Merge branch 'master' of github.com:ChristianChiarulli/LunarVim

Chris před 4 roky
rodič
revize
018343d44a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lua/lsp/ts-fmt-lint.lua

+ 1 - 1
lua/lsp/ts-fmt-lint.lua

@@ -10,7 +10,7 @@ M.setup = function()
         formatStdin = true
     }
 
-    if vim.fn.glob("node_modules/.bin/prettier") then
+    if vim.fn.glob("node_modules/.bin/prettier") ~= "" then
         prettier = {
             formatCommand = "./node_modules/.bin/prettier --stdin-filepath ${INPUT}",
             formatStdin = true