diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-07-26 14:16:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 14:16:46 +0200 |
commit | 2a9c9371bc6d7e3c92eace673d1ed3740b12a270 (patch) | |
tree | c60b6b534ad4c5a430545cc59caf6b98e38a15d2 /runtime | |
parent | 1a4753f25a0efe6f79aed6d3bf10d4459ae302bd (diff) | |
download | rneovim-2a9c9371bc6d7e3c92eace673d1ed3740b12a270.tar.gz rneovim-2a9c9371bc6d7e3c92eace673d1ed3740b12a270.tar.bz2 rneovim-2a9c9371bc6d7e3c92eace673d1ed3740b12a270.zip |
vim-patch:9.0.0073: too many files recognized as bsdl (#19504)
Problem: Too many files recognized as bsdl.
Solution: Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij,
closes vim/vim#10783)
https://github.com/vim/vim/commit/1b67f07f7626b87d9ce3e16815970988983a2ddc
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 2 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index f28118e272..f91d7e1929 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -260,7 +260,7 @@ au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/ au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " BSDL -au BufNewFile,BufRead *bsd,*.bsdl setf bsdl +au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl " Bazel (http://bazel.io) autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE setf bzl diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index c2dcc2a2c8..8746f9e294 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -176,6 +176,7 @@ local extension = { bbappend = 'bitbake', bbclass = 'bitbake', bl = 'blank', + bsd = 'bsdl', bsdl = 'bsdl', bst = 'bst', btm = function(path, bufnr) @@ -1668,7 +1669,6 @@ local pattern = { ['.*/build/conf/.*%.conf'] = 'bitbake', ['.*/meta/conf/.*%.conf'] = 'bitbake', ['.*/meta%-.*/conf/.*%.conf'] = 'bitbake', - ['.*bsd'] = 'bsdl', ['bzr_log%..*'] = 'bzr', ['.*enlightenment/.*%.cfg'] = 'c', ['cabal%.project%..*'] = starsetf('cabalproject'), |