vim-patch:8.1.2177: Dart files are not recognized
Problem: Dart files are not recognized.
Solution: Add a filetype rule. (Eugene Ciurana, closes vim/vim#5087)
afbdb905c3
This commit is contained in:
parent
1e4a9f9993
commit
437fe261ab
|
@ -421,6 +421,9 @@ au BufNewFile,BufRead *.csp,*.fdr setf csp
|
|||
au BufNewFile,BufRead *.pld setf cupl
|
||||
au BufNewFile,BufRead *.si setf cuplsim
|
||||
|
||||
" Dart
|
||||
au BufRead,BufNewfile *.dart,*.drt setf dart
|
||||
|
||||
" Debian Control
|
||||
au BufNewFile,BufRead */debian/control setf debcontrol
|
||||
au BufNewFile,BufRead control
|
||||
|
|
|
@ -122,6 +122,7 @@ let s:filename_checks = {
|
|||
\ 'cvs': ['cvs123'],
|
||||
\ 'cvsrc': ['.cvsrc'],
|
||||
\ 'cynpp': ['file.cyn'],
|
||||
\ 'dart': ['file.dart', 'file.drt'],
|
||||
\ 'datascript': ['file.ds'],
|
||||
\ 'dcd': ['file.dcd'],
|
||||
\ 'debcontrol': ['/debian/control'],
|
||||
|
|
Loading…
Reference in New Issue