Ignore .swp files in nerdtree with vim, add .cap file as ruby

main
Buddy Sandidge 5 years ago
parent 5be46d23f4
commit 6f00c3e9b1

@ -75,7 +75,7 @@ map <F12> ggVGg? " apply rot13 for people snooping over shoulder, good fun
" Nerdtree settings " Nerdtree settings
let NERDTreeDirArrows=1 let NERDTreeDirArrows=1
let NERDTreeIgnore = ['\.pyc$'] let NERDTreeIgnore = ['\.pyc$', '\.swp$']
let g:ale_linters = { let g:ale_linters = {
\ 'javascript': ['eslint'] \ 'javascript': ['eslint']
@ -181,6 +181,10 @@ augroup javascript
au! BufRead,BufNewFile *.js.flow set filetype=javascript au! BufRead,BufNewFile *.js.flow set filetype=javascript
augroup END augroup END
augroup ruby
au! BufRead,BufNewFile *.cap set syntax=ruby
augroup END
augroup styl augroup styl
au! BufRead,BufNewFile *.styl set syntax=stylus au! BufRead,BufNewFile *.styl set syntax=stylus
augroup END augroup END

Loading…
Cancel
Save