runtime(dist/ft): improve filetype detection for *.v (V/Verilog/Coq)

Patch provided by Dan Alt

closes: #13793

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-01-01 19:19:20 +01:00
parent b16fc98055
commit 10b4f75d4c
2 changed files with 33 additions and 12 deletions

View File

@ -1,4 +1,4 @@
*filetype.txt* For Vim version 9.0. Last change: 2023 Dec 23
*filetype.txt* For Vim version 9.0. Last change: 2024 Jan 01
VIM REFERENCE MANUAL by Bram Moolenaar
@ -169,6 +169,7 @@ variables can be used to overrule the filetype used for certain extensions:
*.sh g:bash_is_sh |ft-sh-syntax|
*.tex g:tex_flavor |ft-tex-plugin|
*.typ g:filetype_typ
*.v g:filetype_v
*.w g:filetype_w |ft-cweb-syntax|
For a few filetypes the global variable is used only when the filetype could