Ignore .swp files in nerdtree with vim, add .cap file as ruby
This commit is contained in:
parent
5be46d23f4
commit
6f00c3e9b1
6
vimrc
6
vimrc
@ -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…
Reference in New Issue
Block a user