comparison runtime/filetype.vim @ 30215:40491de2f0a6 v9.0.0443

patch 9.0.0443: blueprint files are not recognized Commit: https://github.com/vim/vim/commit/cce82a55b8105560a2ef724999c856966337b48e Author: Gabriele Musco <gabmus@disroot.org> Date: Sun Sep 11 13:37:37 2022 +0100 patch 9.0.0443: blueprint files are not recognized Problem: Blueprint files are not recognized. Solution: Add a pattern for blueprint files. (Gabriele Musco, closes https://github.com/vim/vim/issues/11107)
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Sep 2022 14:45:05 +0200
parents fee9eccee266
children 1fbc86e18258
comparison
equal deleted inserted replaced
30214:37cf1af90ffc 30215:40491de2f0a6
872 " Httest 872 " Httest
873 au BufNewFile,BufRead *.htt,*.htb setf httest 873 au BufNewFile,BufRead *.htt,*.htb setf httest
874 874
875 " i3 875 " i3
876 au BufNewFile,BufRead */i3/config setf i3config 876 au BufNewFile,BufRead */i3/config setf i3config
877 au BufNewFile,BufRead */.i3/config setf i3config 877 au BufNewFile,BufRead */.i3/config setf i3config
878 878
879 " sway 879 " sway
880 au BufNewFile,BufRead */sway/config setf swayconfig 880 au BufNewFile,BufRead */sway/config setf swayconfig
881 au BufNewFile,BufRead */.sway/config setf swayconfig 881 au BufNewFile,BufRead */.sway/config setf swayconfig
882 882
883 " Icon 883 " Icon
884 au BufNewFile,BufRead *.icn setf icon 884 au BufNewFile,BufRead *.icn setf icon
885 885
886 " IDL (Interface Description Language) 886 " IDL (Interface Description Language)
2577 au BufNewFile,BufRead *.txt 2577 au BufNewFile,BufRead *.txt
2578 \ if getline('$') !~ 'vim:.*ft=help' 2578 \ if getline('$') !~ 'vim:.*ft=help'
2579 \| setf text 2579 \| setf text
2580 \| endif 2580 \| endif
2581 2581
2582 " Blueprint markup files
2583 au BufNewFile,BufRead *.blp setf blueprint
2582 2584
2583 " Use the filetype detect plugins. They may overrule any of the previously 2585 " Use the filetype detect plugins. They may overrule any of the previously
2584 " detected filetypes. 2586 " detected filetypes.
2585 runtime! ftdetect/*.vim 2587 runtime! ftdetect/*.vim
2586 2588