Questions tagged [keyword]
14
问题
2
票数
2答案
289浏览
有可能使“???” 可以突出显示的关键字?
有可能使??? (3个问号)一个关键字,并突出显示它?
I have tried the following in a syntax file. Other strings on the line are highlighted, but not ???. \?\?\? does not work ...
2
票数
2答案
56浏览
是否有一种简单的方法可从语法组中删除单个关键字(或在匹配项中覆盖它)?
我偶尔喜欢修改语法文件(尤其是隐藏;我将λ用于几种语言的匿名函数(lambda :, fn))。
但是,一个隐瞒的抱怨是我只能使用...
3
票数
1回答
65浏览
0
票数
0答案
41浏览
Add character to iskeyword string, but only at the beginning of a word [duplicate]
我想知道是否可以将一个字符添加到iskeyword或类似关键字中,但是只能在关键字的开头允许它。
Use case: TeX macros start with \
相关问题:可能...
3
票数
1回答
73浏览
How to treat underscores as whitespace when skipping to the next word? [duplicate]
让我们考虑一个示例,其中光标位于文本one_two三的开头。
下划线被视为单词的一部分,因此w向右移至三个字母的第一个字母。
与设置...
0
票数
0答案
19浏览
0
票数
2答案
29浏览
1
投票
1回答
96浏览
Is there a conflict between `syntax enable` and custom keywords?
我有以下最小的.vimrc文件:
“语法启用
语法大小写匹配
语法关键字MyTodo TODO PENDING
语法关键字MyTodoIP正在进行中
语法关键字MyTodoClosed CLOSED COMPLETE DONE
...
4
票数
2答案
2k浏览
0
票数
1回答
250浏览
\<C-v> character in vim
我在vimrc中有这个
let g:currentmode={
\ 'n' : 'NORMAL ',
\ 'v' : 'VISUAL ',
\ 'V' : 'V·Line ',
\ '^V' : 'V·Block ',
\ ...
0
票数
1回答
132浏览
2
票数
1回答
83浏览
无法为冒号(:)字符设置iskeyword
我正在使用vim编辑LaTeX文件。
在整个文本中,有方程,表格等的标签,TeX作家之间对此的公认约定如下
\label{eq:massenergy} , \...
0
票数
0答案
27浏览
YouCompleteMe:如何定义特殊关键字?
For example, I need to type (others => '0') many times.
Can I define (others => '0') as a keyword. If I type something like other then (others => '0') will show in the selection menu.
1
投票
1回答
179浏览
要匹配的角色类“关键字”人物
简而言之:如何定义与“ iskeyword”匹配的正则表达式。
My initial thought was that match(str, '\w*') would match an arbitrary number of keyword characters in str, but it really only matches to a ...