Skip to content

Commit ec3e3b0

Browse files
committed
setup Neoformat for linting
1 parent 4ec48d1 commit ec3e3b0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

bundle_list

+5
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ https://github.com/chriskempson/base16-vim.git
4343

4444
https://github.com/posva/vim-vue.git
4545
https://github.com/mileszs/ack.vim.git
46+
47+
# format all the langs!
48+
https://github.com/sbdchd/neoformat.git
49+
# React things
50+
https://github.com/MaxMEllon/vim-jsx-pretty.git

vimrc

+7
Original file line numberDiff line numberDiff line change
@@ -370,3 +370,10 @@ hi def InterestingWord6 guifg=#000000 ctermfg=16 guibg=#ff2c4b ctermbg=195
370370
" }}}
371371

372372
noremap <silent> <leader>N :noh<cr>:call clearmatches()<cr>
373+
374+
let g:neoformat_try_node_exe = 1
375+
let g:vim_jsx_pretty_colorful_config = 1
376+
377+
" for easier debugging
378+
"let g:neoformat_verbose = 1
379+
map <leader>cp :Neoformat<CR>

0 commit comments

Comments
 (0)