diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-29 14:59:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-29 14:59:10 +0200 |
| commit | 5a304b78647d1a3913cbab197ccde033ae0510cd (patch) | |
| tree | 654eb1c155b568745309646e79b970e011527577 /runtime/filetype.vim | |
| parent | 51a2d8dc36b56125c81a085a773eb47671eec7f0 (diff) | |
| parent | 024ff6b80831a27d2f6571006eb6fdf94d95f882 (diff) | |
| download | rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.gz rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.bz2 rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.zip | |
Merge #6615 from justinmk/vim-patches
Diffstat (limited to 'runtime/filetype.vim')
| -rw-r--r-- | runtime/filetype.vim | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index a909debf97..3e502ca362 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2016 Sep 22 +" Last Change: 2016 Oct 31 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -858,7 +858,7 @@ au BufNewFile,BufRead *.ht setf haste au BufNewFile,BufRead *.htpp setf hastepreproc " Hercules -au BufNewFile,BufRead *.vc,*.ev,*.rs,*.sum,*.errsum setf hercules +au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules " HEX (Intel) au BufNewFile,BufRead *.hex,*.h32 setf hex @@ -1756,6 +1756,9 @@ au BufNewFile,BufRead *.rb,*.rbw setf ruby " RubyGems au BufNewFile,BufRead *.gemspec setf ruby +" Rust +au BufNewFile,BufRead *.rs setf rust + " Rackup au BufNewFile,BufRead *.ru setf ruby @@ -2250,7 +2253,7 @@ func! s:FTtex() endfunc " ConTeXt -au BufNewFile,BufRead tex/context/*/*.tex,*.mkii,*.mkiv setf context +au BufNewFile,BufRead tex/context/*/*.tex,*.mkii,*.mkiv,*.mkvi setf context " Texinfo au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo @@ -2667,6 +2670,9 @@ au BufNewFile,BufRead mutt{ng,}rc*,Mutt{ng,}rc* call s:StarSetf('muttrc') " Nroff macros au BufNewFile,BufRead tmac.* call s:StarSetf('nroff') +" OpenBSD hostname.if +au BufNewFile,BufRead /etc/hostname.* call s:StarSetf('config') + " Pam conf au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf') |