mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
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:
@@ -421,6 +421,9 @@ au BufNewFile,BufRead *.csp,*.fdr setf csp
|
|||||||
au BufNewFile,BufRead *.pld setf cupl
|
au BufNewFile,BufRead *.pld setf cupl
|
||||||
au BufNewFile,BufRead *.si setf cuplsim
|
au BufNewFile,BufRead *.si setf cuplsim
|
||||||
|
|
||||||
|
" Dart
|
||||||
|
au BufRead,BufNewfile *.dart,*.drt setf dart
|
||||||
|
|
||||||
" Debian Control
|
" Debian Control
|
||||||
au BufNewFile,BufRead */debian/control setf debcontrol
|
au BufNewFile,BufRead */debian/control setf debcontrol
|
||||||
au BufNewFile,BufRead control
|
au BufNewFile,BufRead control
|
||||||
|
@@ -122,6 +122,7 @@ let s:filename_checks = {
|
|||||||
\ 'cvs': ['cvs123'],
|
\ 'cvs': ['cvs123'],
|
||||||
\ 'cvsrc': ['.cvsrc'],
|
\ 'cvsrc': ['.cvsrc'],
|
||||||
\ 'cynpp': ['file.cyn'],
|
\ 'cynpp': ['file.cyn'],
|
||||||
|
\ 'dart': ['file.dart', 'file.drt'],
|
||||||
\ 'datascript': ['file.ds'],
|
\ 'datascript': ['file.ds'],
|
||||||
\ 'dcd': ['file.dcd'],
|
\ 'dcd': ['file.dcd'],
|
||||||
\ 'debcontrol': ['/debian/control'],
|
\ 'debcontrol': ['/debian/control'],
|
||||||
|
Reference in New Issue
Block a user