From ad64b076885cb4f144abde83af2efd51aec5f003 Mon Sep 17 00:00:00 2001 From: Florian Beeres Date: Mon, 13 Sep 2021 21:24:02 +0200 Subject: [PATCH] Force empty formatexpr in typescript https://github.com/HerringtonDarkholme/yats.vim/issues/209 --- modules/neovim.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/neovim.nix b/modules/neovim.nix index f013939b..0527c89f 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -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%.%#