Last active
December 14, 2015 03:09
-
-
Save rinx/5018810 to your computer and use it in GitHub Desktop.
ftplugin for vim
This file contains hidden or 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
"Ruby | |
setl autoindent | |
setl softtabstop=2 | |
setl tabstop=2 | |
setl shiftwidth=2 | |
setl smarttab | |
setl expandtab | |
setl smartindent cinwords=if,elsif,else,unless,for,while,try,rescue,ensure,def,class,module | |
"neocomplcache omni patterns | |
if !exists('g:neocomplcache_omni_patterns') | |
let g:neocomplcache_omni_patterns = {} | |
endif | |
let g:neocomplcache_omni_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::' | |
"iabbrev | |
iab shb #!/usr/bin/env ruby | |
iab enc # -*- coding: utf-8 -*- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment