diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-10-13 23:21:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-10-13 23:21:27 +0200 |
commit | 60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d (patch) | |
tree | 6e3cfa244f7b4598c052799d89004eae80382d24 /runtime/filetype.vim | |
parent | 04dfd512293e951479aec2378753b946c39bea87 (diff) | |
download | vim-git-60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 4e3e000a8..4d2ffe876 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: 2015 Sep 22 +" Last Change: 2015 Oct 13 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -308,6 +308,9 @@ au BufNewFile,BufRead *.bl setf blank " Blkid cache file au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml +" Bazel (http://bazel.io) +autocmd BufRead,BufNewFile *.bzl,BUILD,WORKSPACE setfiletype bzl + " C or lpc au BufNewFile,BufRead *.c call s:FTlpc() @@ -2114,6 +2117,9 @@ au BufNewFile,BufRead *.cm setf voscm " Sysctl au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl +" Systemd unit files +au BufNewFile,BufRead */systemd/*.{automount,mount,path,service,socket,swap,target,timer} setf systemd + " Synopsys Design Constraints au BufNewFile,BufRead *.sdc setf sdc |