mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
vim-patch:8.2.3598: RouterOS filetype is not recognized
Problem: RouterOS filetype is not recognized.
Solution: Add file and script patterns. (closes vim/vim#9097)
0818ab82e7
This commit is contained in:
@@ -419,6 +419,7 @@ let s:filename_checks = {
|
||||
\ 'rnc': ['file.rnc'],
|
||||
\ 'rng': ['file.rng'],
|
||||
\ 'robots': ['robots.txt'],
|
||||
\ 'routeros': ['file.rsc'],
|
||||
\ 'rpcgen': ['file.x'],
|
||||
\ 'rpl': ['file.rpl'],
|
||||
\ 'rst': ['file.rst'],
|
||||
@@ -659,6 +660,7 @@ let s:script_checks = {
|
||||
\ 'yaml': [['%YAML 1.2']],
|
||||
\ 'pascal': [['#!/path/instantfpc']],
|
||||
\ 'fennel': [['#!/path/fennel']],
|
||||
\ 'routeros': [['#!/path/rsc']],
|
||||
\ }
|
||||
|
||||
" Various forms of "env" optional arguments.
|
||||
|
Reference in New Issue
Block a user