forked from aniani/vim
patch 8.2.4855: robot files are not recognized
Problem: Robot files are not recognized. Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
This commit is contained in:
@@ -1592,6 +1592,9 @@ au BufNewFile,BufRead *.rng setf rng
|
|||||||
" RPL/2
|
" RPL/2
|
||||||
au BufNewFile,BufRead *.rpl setf rpl
|
au BufNewFile,BufRead *.rpl setf rpl
|
||||||
|
|
||||||
|
" Robot Framework
|
||||||
|
au BufNewFile,BufRead *.robot,*.resource setf robot
|
||||||
|
|
||||||
" Robots.txt
|
" Robots.txt
|
||||||
au BufNewFile,BufRead robots.txt setf robots
|
au BufNewFile,BufRead robots.txt setf robots
|
||||||
|
|
||||||
|
@@ -457,6 +457,7 @@ let s:filename_checks = {
|
|||||||
\ 'rib': ['file.rib'],
|
\ 'rib': ['file.rib'],
|
||||||
\ 'rnc': ['file.rnc'],
|
\ 'rnc': ['file.rnc'],
|
||||||
\ 'rng': ['file.rng'],
|
\ 'rng': ['file.rng'],
|
||||||
|
\ 'robot': ['file.robot', 'file.resource'],
|
||||||
\ 'robots': ['robots.txt'],
|
\ 'robots': ['robots.txt'],
|
||||||
\ 'routeros': ['file.rsc'],
|
\ 'routeros': ['file.rsc'],
|
||||||
\ 'rpcgen': ['file.x'],
|
\ 'rpcgen': ['file.x'],
|
||||||
|
@@ -746,6 +746,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 */
|
||||||
|
/**/
|
||||||
|
4855,
|
||||||
/**/
|
/**/
|
||||||
4854,
|
4854,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user