summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-18 19:21:48 +0100
committerChristian Brabandt <cb@256bit.org>2024-03-18 19:21:48 +0100
commit4e334d0443f28f4e749dbef38d686d0dd19122de (patch)
tree0c0527bfa48c63e2d0bd257cf56d70114146e7da /runtime
parent9530fe4f3a69c6bd11fc745d3b2d1667cdd0cf6d (diff)
patch 9.1.0187: filetype: no support for Dafny filesv9.1.0187
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>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index aa8f4da772..fd9ba2c696 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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