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
|
lua <<EOF
|
||||||
local prettier = function()
|
local prettier = function()
|
||||||
return {
|
return {
|
||||||
-- TODO: figure out how to pass a relative path based on project root to
|
exe = "prettier",
|
||||||
-- formatter.nvim.
|
|
||||||
exe = "/home/rob/dev/clipper/frontend/node_modules/.bin/prettier",
|
|
||||||
args = {"--stdin-filepath", vim.api.nvim_buf_get_name(0), '--single-quote'},
|
args = {"--stdin-filepath", vim.api.nvim_buf_get_name(0), '--single-quote'},
|
||||||
stdin = true
|
stdin = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue