Просмотр исходного кода

~/.vimrc: highlight .pxi's with clojure syntax

Lucas Stadler лет назад: 11
Родитель
Сommit
e745bcdb77
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .vimrc

+ 1 - 0
.vimrc

98
au BufNewFile,BufRead *.{hs,lhs} set comments=:--,sr:{-,ex:-}
98
au BufNewFile,BufRead *.{hs,lhs} set comments=:--,sr:{-,ex:-}
99
au BufNewFile,BufRead *.rb set comments=:#,s:=begin,e:=end
99
au BufNewFile,BufRead *.rb set comments=:#,s:=begin,e:=end
100
au BufNewFile,BufRead *.{opa,trx} set filetype=opa shiftwidth=2 tabstop=2 expandtab
100
au BufNewFile,BufRead *.{opa,trx} set filetype=opa shiftwidth=2 tabstop=2 expandtab
101
au BufNewFile,BufRead *.pxi set filetype=clojure
101
102
102
" Don't let me further than 1 line towards the end or the beginning.
103
" Don't let me further than 1 line towards the end or the beginning.
103
set scrolloff=1
104
set scrolloff=1