diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 23:07:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 23:08:57 +1200 |
commit | c4aa05314b68ea3105516e2653287725885b1d13 (patch) | |
tree | 3955df1de33df50dd1bf669ea7a513a8f8f926c4 /vim/scripts.vim | |
parent | Don't require num suffix to Python shebang word (diff) | |
download | dotfiles-c4aa05314b68ea3105516e2653287725885b1d13.tar.gz dotfiles-c4aa05314b68ea3105516e2653287725885b1d13.zip |
Add Ruby shebang
Diffstat (limited to 'vim/scripts.vim')
-rw-r--r-- | vim/scripts.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/scripts.vim b/vim/scripts.vim index 66bf0a8f..cbef0b4e 100644 --- a/vim/scripts.vim +++ b/vim/scripts.vim @@ -30,6 +30,10 @@ elseif s:line =~# '\m\<php\>' elseif s:line =~# '\m\<python[23]\?\>' setfiletype python +" Ruby +elseif s:line =~# '\m\<ruby[23]\?\>' + setfiletype ruby + " sed elseif s:line =~# '\m\<sed\>' setfiletype sed |