fix(nvim): remove hard-coded path
This commit is contained in:
parent
92f8caf8b7
commit
48e8c3a5be
4
nvimrc
4
nvimrc
|
@ -494,9 +494,7 @@ packadd! formatter.nvim " https://github.com/mhartington/formatter.nvim.git
|
|||
lua <<EOF
|
||||
local prettier = function()
|
||||
return {
|
||||
-- TODO: figure out how to pass a relative path based on project root to
|
||||
-- formatter.nvim.
|
||||
exe = "/home/rob/dev/clipper/frontend/node_modules/.bin/prettier",
|
||||
exe = "prettier",
|
||||
args = {"--stdin-filepath", vim.api.nvim_buf_get_name(0), '--single-quote'},
|
||||
stdin = true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue