Skip to content

Commit

Permalink
Force empty formatexpr in typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
cideM committed Sep 13, 2021
1 parent ceb6553 commit ad64b07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ in
set foldexpr=nvim_treesitter#foldexpr()
'';
typescript = ''
setl formatexpr=
setl formatprg=prettier\ --parser\ typescript\ --stdin-filepath\ %
setl wildignore+=*node_modules*,package-lock.json,yarn-lock.json
setl errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
Expand Down

0 comments on commit ad64b07

Please sign in to comment.