diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-09-11 16:07:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-11 16:07:54 +0200 |
commit | f98cff9575e75a050d2bde01ad950c0c72bcfc3e (patch) | |
tree | 98020044980958ee1bfeca7fec3f231c08c47a05 /runtime | |
parent | 9b4cab012662514af6fda3648d544633e1d73d4b (diff) | |
download | rneovim-f98cff9575e75a050d2bde01ad950c0c72bcfc3e.tar.gz rneovim-f98cff9575e75a050d2bde01ad950c0c72bcfc3e.tar.bz2 rneovim-f98cff9575e75a050d2bde01ad950c0c72bcfc3e.zip |
vim-patch:9.0.0443: blueprint files are not recognized (#20155)
Problem: Blueprint files are not recognized.
Solution: Add a pattern for blueprint files. (Gabriele Musco, closes vim/vim#11107)
https://github.com/vim/vim/commit/cce82a55b8105560a2ef724999c856966337b48e
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 7 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 2a9b9de399..eb4309ed9a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -875,11 +875,11 @@ au BufNewFile,BufRead *.htt,*.htb setf httest " i3 au BufNewFile,BufRead */i3/config setf i3config -au BufNewFile,BufRead */.i3/config setf i3config +au BufNewFile,BufRead */.i3/config setf i3config " sway au BufNewFile,BufRead */sway/config setf swayconfig -au BufNewFile,BufRead */.sway/config setf swayconfig +au BufNewFile,BufRead */.sway/config setf swayconfig " Icon au BufNewFile,BufRead *.icn setf icon @@ -2583,6 +2583,9 @@ au BufNewFile,BufRead *.txt \| setf text \| endif +" Blueprint markup files +au BufNewFile,BufRead *.blp setf blueprint + if !exists('g:did_load_ftdetect') " Use the filetype detect plugins. They may overrule any of the previously " detected filetypes. diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index c8777801ec..e4be1f04a2 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -177,6 +177,7 @@ local extension = { bbappend = 'bitbake', bbclass = 'bitbake', bl = 'blank', + blp = 'blueprint', bsd = 'bsdl', bsdl = 'bsdl', bst = 'bst', |