Created
July 26, 2011 00:47
-
-
Save darkoperator/1105656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete | |
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_include_object = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_include_objectspace = 1 | |
autocmd CursorMoved * silent! exe printf('match IncSearch /\<%s\>/', expand('<cword>')) | |
set nu " Set line numbers | |
set nocompatible " We're running Vim, not Vi! | |
syntax on " Enable syntax highlighting | |
filetype on " Enable filetype detection | |
filetype indent on " Enable filetype-specific indenting | |
filetype plugin on " Enable filetype-specific plugins | |
au BufEnter *.nasl setfiletype nasl | |
au BufEnter *.inc setfiletype nasl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment