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
let NERDTreeDirArrows=1
let NERDTreeIgnore = ['\.pyc$']
let NERDTreeIgnore = ['\.pyc$', '\.swp$']
let g:ale_linters = {
\ 'javascript': ['eslint']
@ -181,6 +181,10 @@ augroup javascript
au! BufRead,BufNewFile *.js.flow set filetype=javascript
augroup END
augroup ruby
au! BufRead,BufNewFile *.cap set syntax=ruby
augroup END
augroup styl
au! BufRead,BufNewFile *.styl set syntax=stylus
augroup END

Loading…
Cancel
Save