mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.4855: robot files are not recognized (#18364)
Problem: Robot files are not recognized.
Solution: Add patterns for robot files. (Zoe Roux, closes vim/vim#10339)
2096a5f128
This commit is contained in:
parent
e5f6f20968
commit
d23ce6ef76
@ -1588,6 +1588,9 @@ au BufNewFile,BufRead *.rng setf rng
|
||||
" RPL/2
|
||||
au BufNewFile,BufRead *.rpl setf rpl
|
||||
|
||||
" Robot Framework
|
||||
au BufNewFile,BufRead *.robot,*.resource setf robot
|
||||
|
||||
" Robots.txt
|
||||
au BufNewFile,BufRead robots.txt setf robots
|
||||
|
||||
|
@ -561,6 +561,8 @@ local extension = {
|
||||
snw = "rnoweb",
|
||||
Rnw = "rnoweb",
|
||||
Snw = "rnoweb",
|
||||
robot = "robot",
|
||||
resource = "robot",
|
||||
rsc = "routeros",
|
||||
x = "rpcgen",
|
||||
rpl = "rpl",
|
||||
|
@ -456,6 +456,7 @@ let s:filename_checks = {
|
||||
\ 'rib': ['file.rib'],
|
||||
\ 'rnc': ['file.rnc'],
|
||||
\ 'rng': ['file.rng'],
|
||||
\ 'robot': ['file.robot', 'file.resource'],
|
||||
\ 'robots': ['robots.txt'],
|
||||
\ 'routeros': ['file.rsc'],
|
||||
\ 'rpcgen': ['file.x'],
|
||||
|
Loading…
Reference in New Issue
Block a user