diff --git a/vimrc b/vimrc index 555703c..096befb 100644 --- a/vimrc +++ b/vimrc @@ -75,7 +75,7 @@ map 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