Pārlūkot izejas kodu

~/.vimrc: Set include{,expr} for Java.

Ugh. ;)

It turns out that Java isn't so easy to read without extensive
crossreferencing and such.
Lucas Stadler 13 gadi atpakaļ
vecāks
revīzija
94da0e1674
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      .vimrc

+ 2 - 2
.vimrc

189
set runtimepath+=/usr/share/lilypond/2.14.2/vim
189
set runtimepath+=/usr/share/lilypond/2.14.2/vim
190
autocmd BufNewFile,BufRead *.ly set filetype=lilypond
190
autocmd BufNewFile,BufRead *.ly set filetype=lilypond
191
191
192
" Make folds a little more acceptable :)
193
highlight Folded ctermbg=255
192
autocmd BufNewFile,BufRead *.java set include=^#\s*import
193
autocmd BufNewFile,BufRead *.java set includeexpr=substitute(v:fname,'\\.','/','g')
194
194
195
source ~/ruby-1.9.4dev/lib/ruby/gems/1.9.1/gems/rcodetools-0.8.5.0/rcodetools.vim
195
source ~/ruby-1.9.4dev/lib/ruby/gems/1.9.1/gems/rcodetools-0.8.5.0/rcodetools.vim
196
196