fix(nvim): remove hard-coded path

This commit is contained in:
Rob Watson 2023-09-16 21:43:23 +02:00
parent 92f8caf8b7
commit 48e8c3a5be
1 changed files with 1 additions and 3 deletions

4
nvimrc
View File

@ -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
}