vim脚本安装说明“取消注释选项”是指什么(在这种情况下)

时间:2012-04-02 22:05:27

标签: vim

我正在尝试在vim中为sqlite3获取语法高亮。 tcl_sqlite.vim安装详细信息如下:      放在〜/ .vim / syntax /

Activated by uncommenting the option at the top of the tcl.vim file.

我的〜/ .vim / syntax /

中有tcl.vim文件

我哪条线取消注释?有什么选择?

1 个答案:

答案 0 :(得分:1)

来自tcl.vim的第19-29行是:

" Highlight Options: restart vim, after changing these options.
" let s:tcl_highlight_namespace_bold = 1
" let s:tcl_highlight_bookends = 1
" let s:tcl_highlight_primary = 1
" let s:tcl_highlight_expressions = 1
" let s:tcl_highlight_variables = 1
" let s:tcl_highlight_secondary = 1
" let s:tcl_highlight_options = 1
" let s:tcl_highlight_lcs_are_warnings = 1
" let s:tcl_comments_ignore_nested_braces = 1
let s:tcl_highlight_all = 1
一行开头的

"表示已注释掉。看起来默认情况下s:tcl_highlight_all处于启用状态,因此除非您想要选择要突出显示的内容,否则您不必执行任何操作,在这种情况下,您将取消注释这些行。