neoformat icon indicating copy to clipboard operation
neoformat copied to clipboard

Disable Neoformat format on save for .jsx files

Open jininvt opened this issue 4 years ago • 1 comments

Need to disable Neoformat format on save for .jsx files as it conflicts with CoC. How can I do that?

My init.vim file:

augroup fmt
  autocmd!
  autocmd BufWritePre * undojoin | Neoformat
augroup END

let g:neoformat_enabled_python = ['yapf']

jininvt avatar Jun 18 '21 10:06 jininvt

I figure out that something like this:

autocmd BufWritePre *\(.jsx\)\@<! undojoin | Neoformat

would solve the problem.

mazharz avatar May 11 '22 16:05 mazharz