diff --git a/lua/plugins/formatter.lua b/lua/plugins/formatter.lua index a1f027f..29d1d66 100644 --- a/lua/plugins/formatter.lua +++ b/lua/plugins/formatter.lua @@ -1,6 +1,6 @@ local prettierd = function() return { - exe = "prettier_d_slim", + exe = "prettierd", args = {vim.api.nvim_buf_get_name(0)}, stdin = true } diff --git a/setup.sh b/setup.sh index 5624d3a..ad8d7e3 100755 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,5 @@ [ -e ~/.local/share/nvim/site/pack/packer/start/packer.nvim ] || git clone https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim -npm i -g prettier_d_slim \ +npm i -g @fsouza/prettierd \ diagnostic-languageserver \ eslint_d \ lua-fmt \