Ver Código Fonte

~/.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 anos atrás
pai
commit
94da0e1674
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      .vimrc

+ 2 - 2
.vimrc

@ -189,8 +189,8 @@ autocmd BufNewFile,BufRead *.{c,h} set tags=~/stdlib.tags,~/posix.tags
189 189
set runtimepath+=/usr/share/lilypond/2.14.2/vim
190 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 195
source ~/ruby-1.9.4dev/lib/ruby/gems/1.9.1/gems/rcodetools-0.8.5.0/rcodetools.vim
196 196