From 21638953a830aa657b1e0fe1b14ff65a1694ef60 Mon Sep 17 00:00:00 2001 From: hophacker Date: Mon, 5 Dec 2022 08:53:45 +0800 Subject: [PATCH] feat: discovered way to change formatters directly, remove jsbeautify from js&jsreact formatters --- SpaceVim.d/autoload/paiyou.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SpaceVim.d/autoload/paiyou.vim b/SpaceVim.d/autoload/paiyou.vim index 4c11582..a1def6b 100644 --- a/SpaceVim.d/autoload/paiyou.vim +++ b/SpaceVim.d/autoload/paiyou.vim @@ -16,6 +16,8 @@ function! paiyou#after() abort \} let g:ale_fix_on_save = 1 let g:ctrlp_max_files=0 + let g:neoformat_enabled_javascript = ['standard', 'semistandard', 'prettier', 'prettydiff', 'clangformat', 'esformatter', 'prettiereslint', 'eslint_d', 'denofmt'] + let g:neoformat_enabled_javascriptreact = ['standard', 'semistandard', 'prettier', 'prettydiff', 'clangformat', 'esformatter', 'prettiereslint', 'eslint_d', 'denofmt'] endfunction " load customized settings