forked from aniani/vim
patch 8.1.0507: .raml files not properly detected
Problem: .raml files not properly detected. Solution: Recognize .raml as raml instead of yaml. (closes #3594)
This commit is contained in:
@@ -1893,8 +1893,11 @@ au BufNewFile,BufRead *.yy,*.yxx,*.y++ setf yacc
|
|||||||
" Yacc or racc
|
" Yacc or racc
|
||||||
au BufNewFile,BufRead *.y call dist#ft#FTy()
|
au BufNewFile,BufRead *.y call dist#ft#FTy()
|
||||||
|
|
||||||
" Yaml or Raml
|
" Yaml
|
||||||
au BufNewFile,BufRead *.yaml,*.yml,*.raml setf yaml
|
au BufNewFile,BufRead *.yaml,*.yml setf yaml
|
||||||
|
|
||||||
|
" Raml
|
||||||
|
au BufNewFile,BufRead *.raml setf raml
|
||||||
|
|
||||||
" yum conf (close enough to dosini)
|
" yum conf (close enough to dosini)
|
||||||
au BufNewFile,BufRead */etc/yum.conf setf dosini
|
au BufNewFile,BufRead */etc/yum.conf setf dosini
|
||||||
|
|||||||
@@ -495,6 +495,7 @@ let s:filename_checks = {
|
|||||||
\ 'xslt': ['file.xsl', 'file.xslt'],
|
\ 'xslt': ['file.xsl', 'file.xslt'],
|
||||||
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
||||||
\ 'yaml': ['file.yaml', 'file.yml'],
|
\ 'yaml': ['file.yaml', 'file.yml'],
|
||||||
|
\ 'raml': ['file.raml'],
|
||||||
\ 'z8a': ['file.z8a'],
|
\ 'z8a': ['file.z8a'],
|
||||||
\ 'zimbu': ['file.zu'],
|
\ 'zimbu': ['file.zu'],
|
||||||
\ 'zimbutempl': ['file.zut'],
|
\ 'zimbutempl': ['file.zut'],
|
||||||
|
|||||||
@@ -792,6 +792,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
507,
|
||||||
/**/
|
/**/
|
||||||
506,
|
506,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user