diff options
author | Chris <[email protected]> | 2021-07-05 10:36:10 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-07-05 10:36:10 -0400 |
commit | 018343d44a0dff2c3a7353c01a5eaabd1f23e2b6 (patch) | |
tree | 30dcbaf9cc816bcd42ebff6bd05e7f495d8ae810 /lua/lsp/ts-fmt-lint.lua | |
parent | a569128faac772d05648b07ec93206010f12bc3d (diff) | |
parent | bd9296c4e86b9223cce9ee3dd0d04c3f9e7cc370 (diff) |
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim
Diffstat (limited to 'lua/lsp/ts-fmt-lint.lua')
-rw-r--r-- | lua/lsp/ts-fmt-lint.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp/ts-fmt-lint.lua b/lua/lsp/ts-fmt-lint.lua index 1ebf2e20..36d4ca8a 100644 --- a/lua/lsp/ts-fmt-lint.lua +++ b/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 |