Browse Source

if you open a file from telescope, you won't have file not found issues with prettier (#879)

Abouzar Parvan 4 years ago
parent
commit
427482bea5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lua/default-config.lua

+ 1 - 0
lua/default-config.lua

@@ -262,6 +262,7 @@ O = {
       formatter = {
         exe = "prettier",
         args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
+        stdin = false,
       },
     },
     terraform = {},