diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-10-28 23:51:02 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-10-29 01:36:51 +0200 |
commit | c34e81660884f1b6a50536ce39dbab7cd66b502f (patch) | |
tree | 50947621047f7a9406ef3154dbcb700cc61cf617 /runtime/lua/vim | |
parent | a2a1a65b98ad88d69906b9c372dca1c3063100ef (diff) | |
download | rneovim-c34e81660884f1b6a50536ce39dbab7cd66b502f.tar.gz rneovim-c34e81660884f1b6a50536ce39dbab7cd66b502f.tar.bz2 rneovim-c34e81660884f1b6a50536ce39dbab7cd66b502f.zip |
vim-patch:9.0.2079: Not all Dart files detected
Problem: Not all Dart files detected
Solution: Add shebang filetype detection for Dart
closes: vim/vim#13449
https://github.com/vim/vim/commit/c1c177a47bfe1b9a524ede2743a689e461668d14
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype/detect.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype/detect.lua b/runtime/lua/vim/filetype/detect.lua index e53ff08536..2232183888 100644 --- a/runtime/lua/vim/filetype/detect.lua +++ b/runtime/lua/vim/filetype/detect.lua @@ -1655,6 +1655,7 @@ local patterns_hashbang = { ['^crystal\\>'] = { 'crystal', { vim_regex = true } }, ['^\\%(rexx\\|regina\\)\\>'] = { 'rexx', { vim_regex = true } }, ['^janet\\>'] = { 'janet', { vim_regex = true } }, + ['^dart\\>'] = { 'dart', { vim_regex = true } }, } ---@private |