[英]decoding vim syntastic symbols in `spacevim`
I hate asking a question like this, but am still rather new to vim
and the Spacevim
variant that I am using. 我讨厌问这样的问题,但是对于
vim
和我正在使用的Spacevim
变体来说还是很新的。
I am working in python and was trying to understand the different symbols that vim-syntastic
is presenting the the leftmost column. 我在python中工作,试图理解
vim-syntastic
在最左边一栏中显示的不同符号。 I have included a picture below. 我在下面附上一张图片。
There are symbols like
_3
, !
有类似
_3
符号!
, !1
, and I can't seem to find a guide to these symbols. ,
!1
,我似乎找不到这些符号的指南。 The warning and error signs are intuitive enough, but not these different colored indicators. 警告和错误标志足够直观,但没有这些不同颜色的指示器。
I tried to do :help syntastic
but that did not show anything. 我试图做
:help syntastic
但是什么也没显示。 I got an indication E149: no help for syntastic
. 我得到一个指示
E149: no help for syntastic
。 I also googled around but could not find a description for these symbols in the github repo for syntastic, or in the spacevim
documentation. 我也在google上搜索,但是在synthestic的github仓库或
spacevim
文档中找不到这些符号的描述。 I also found the syntastic help documentation on the github repo, but the error signs section does not explain any default settings, etc. Here is the link to that. 我还在github repo上找到了syntastic帮助文档,但是错误标志部分没有解释任何默认设置,等等。这是该链接。 https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic.txt
https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic.txt
I also included a picture from the documentation, but it does not show the actual default symbol meanings. 我还提供了文档中的图片,但未显示实际的默认符号含义。 I tried to use help on the various keywords in the help message, but those did not work for me either.
我尝试对帮助消息中的各个关键字使用帮助,但是这些关键字也不适合我。
Does anyone know where to find this info. 有人知道在哪里可以找到此信息。
short answer: !
答案很简单:
!
for error, _
for number of deleted lines signs are from vim-signify and/or syntastic. 对于错误,
_
表示删除的行数,符号来自vim-signify和/或syntastic。
SpaceVim override syntastic config g:syntastic_warning_symbol
/ g:syntastic_error_symbol
with g:spacevim_error_symbol
/ g:spacevim_warning_symbol
your local config might have overridden those configs too. SpaceVim覆盖syntastic配置
g:syntastic_warning_symbol
/ g:syntastic_error_symbol
与g:spacevim_error_symbol
/ g:spacevim_warning_symbol
您的本地配置可能已经过重写那些CONFIGS。
refs: 裁判:
https://github.com/mhinz/vim-signify/blob/master/doc/signify.txt#L100 https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic.txt#L411 https://github.com/mhinz/vim-signify/blob/master/doc/signify.txt#L100 https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic.txt#L411
https://github.com/SpaceVim/SpaceVim/blob/dev/doc/SpaceVim.txt#L198 https://github.com/SpaceVim/SpaceVim/blob/dev/config/plugins/syntastic.vim https://github.com/SpaceVim/SpaceVim/blob/dev/doc/SpaceVim.txt#L198 https://github.com/SpaceVim/SpaceVim/blob/dev/config/plugins/syntastic.vim
我是SpaceVim的维护者,感谢您创建SpaceVim
标签,我刚刚阅读了问答,这些符号来自vim-signify,在SpaceVim中,我们使用neomake作为默认语法检查插件,以更改spacevim的错误/警告符号,则需要使用g:spacevim_error_symbol
和g:spacevim_warning_symbol
,默认情况下,它们是✖
和➤
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.