mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-11-10 10:58:33 +03:00
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
"name": "vimrc",
|
|
"fileTypes": [".vimrc"],
|
|
"scopeName": "source.vimrc",
|
|
"patterns": [
|
|
{
|
|
"name": "comment.line",
|
|
"match": "(^| |\t)\".*$"
|
|
},
|
|
{
|
|
"name": "entity.name.function",
|
|
"match": "^( |\t)*(map|nmap|vmap|smap|xmap|omap|map!|imap|lmap|cmap)"
|
|
},
|
|
{
|
|
"name": "entity.name.function",
|
|
"match": "^( |\t)*(noremap|nnoremap|vnoremap|snoremap|xnoremap|onoremap|noremap!|inoremap|lnoremap|cnoremap)"
|
|
},
|
|
{
|
|
"name": "entity.name.function",
|
|
"match": "^( |\t)*(unmap|nunmap|vunmap|sunmap|xunmap|ounmap|unmap!|iunmap|lunmap|cunmap)"
|
|
},
|
|
{
|
|
"name": "entity.name.function",
|
|
"match": "^( |\t)*set"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<Leader>"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<(CR|Enter|Return)>"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<(BS|Del|Space)>"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<Esc>"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<(Up|Down|Left|Right)>"
|
|
},
|
|
{
|
|
"name": "constant",
|
|
"match": "(?i)<[CD]-.>"
|
|
},
|
|
{
|
|
"name": "string.unquoted",
|
|
"match": "(?i)[a-z]+(\\.[a-z]+)+"
|
|
}
|
|
]
|
|
}
|