Mercurial > vim
comparison runtime/filetype.vim @ 10548:74effdaa369e
Updated runtime files.
commit https://github.com/vim/vim/commit/68563937f58ea2dc31b58739336c383d2fd7e6cf
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 13:31:15 2017 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 13:45:05 +0100 |
parents | c78513465e6e |
children | 9a75c8a1b8b1 |
comparison
equal
deleted
inserted
replaced
10547:b1438ad6d6e8 | 10548:74effdaa369e |
---|---|
1 " Vim support file to detect file types | 1 " Vim support file to detect file types |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2016 Oct 31 | 4 " Last Change: 2017 Jan 06 |
5 | 5 |
6 " Listen very carefully, I will say this only once | 6 " Listen very carefully, I will say this only once |
7 if exists("did_load_filetypes") | 7 if exists("did_load_filetypes") |
8 finish | 8 finish |
9 endif | 9 endif |
307 | 307 |
308 " Blkid cache file | 308 " Blkid cache file |
309 au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml | 309 au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml |
310 | 310 |
311 " Bazel (http://bazel.io) | 311 " Bazel (http://bazel.io) |
312 autocmd BufRead,BufNewFile *.bzl,BUILD,WORKSPACE setfiletype bzl | 312 autocmd BufRead,BufNewFile *.bzl,WORKSPACE setfiletype bzl |
313 if has("fname_case") | |
314 autocmd BufRead,BufNewFile BUILD setfiletype bzl | |
315 endif | |
313 | 316 |
314 " C or lpc | 317 " C or lpc |
315 au BufNewFile,BufRead *.c call s:FTlpc() | 318 au BufNewFile,BufRead *.c call s:FTlpc() |
316 | 319 |
317 func! s:FTlpc() | 320 func! s:FTlpc() |