diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-19 01:02:25 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-19 01:02:25 -0400 |
commit | ba9bdb3e70722942049fc17c52ef3d9eea866256 (patch) | |
tree | 9d16e844a3f5eb67c71f4fe3aeee9742b0db815f /runtime/filetype.vim | |
parent | 1cb8afed7845cf8504bbbb560d04ea980f6b7cc5 (diff) | |
parent | 43fe335eda6c9f0ef231777aa03836a402d50668 (diff) | |
download | rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.tar.gz rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.tar.bz2 rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.zip |
Merge pull request #4604 from dbarnett/vim-60cce2f
vim-patch:60cce2f
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 6929efb510..757b9a0db7 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") @@ -304,6 +304,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() @@ -2119,6 +2122,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 |