forked from aniani/vim
patch 9.1.0187: filetype: no support for Dafny files
Problem: Dafny files are not recognized. Solution: Recognize *.dfy files as filetype "dafny" (zeertzjq). Ref: https://dafny.org/ Ref: https://github.com/mlr-msft/vim-loves-dafny closes: #14226 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
9530fe4f3a
commit
4e334d0443
@ -534,6 +534,9 @@ au BufNewFile,BufRead *.csp,*.fdr setf csp
|
||||
au BufNewFile,BufRead *.pld setf cupl
|
||||
au BufNewFile,BufRead *.si setf cuplsim
|
||||
|
||||
" Dafny
|
||||
au BufNewFile,BufRead *.dfy setf dafny
|
||||
|
||||
" Dart
|
||||
au BufRead,BufNewfile *.dart,*.drt setf dart
|
||||
|
||||
|
@ -189,6 +189,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
cynpp: ['file.cyn'],
|
||||
cypher: ['file.cypher'],
|
||||
d: ['file.d'],
|
||||
dafny: ['file.dfy'],
|
||||
dart: ['file.dart', 'file.drt'],
|
||||
datascript: ['file.ds'],
|
||||
dcd: ['file.dcd'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
187,
|
||||
/**/
|
||||
186,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user