每次我在标签之间包围文字时,单词都会变为粗体。我不喜欢在gVim中使用粗体文本,所以我想知道如何停用它?
PS:我的vim方案中没有任何单一的粗体属性:
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "_vs"
" Vim >= 7.0 specific colors
if version >= 700
hi CursorLine guibg=#DDDDDD gui=none
hi CursorColumn guibg=#EEEEEE gui=none
hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=none
hi Pmenu guifg=#DDDDDD guibg=#666666 gui=none
hi PmenuSel guifg=#EEEEEE guibg=#444444 gui=none
endif
" General colors
hi Cursor guifg=NONE guibg=#888888 gui=none
hi Normal guifg=#000000 guibg=#FFFFFF gui=none
hi NonText guifg=#808080 guibg=#FFFFFF gui=none
hi LineNr guifg=#FFFFFF guibg=#BBBBBB gui=none
hi StatusLine guifg=#000000 guibg=#DDDDDD gui=none
hi StatusLineNC guifg=#857b6f guibg=#DDDDDD gui=none
hi VertSplit guifg=#DDDDDD guibg=#DDDDDD gui=none
hi Folded guibg=#AAAAAA guifg=#FFFFFF gui=none
hi Title guifg=#000000 guibg=NONE gui=none
hi Visual guifg=NONE guibg=#DDDDDD gui=none
hi SpecialKey guifg=#808080 guibg=#FFFFFF gui=none
" Syntax highlighting
hi Comment guifg=#777777 gui=none
hi Todo guifg=#8f8f8f gui=none
hi Constant guifg=#e5786d gui=none
hi String guifg=#2902FC gui=none
hi Identifier guifg=#2902FC gui=none
hi Function guifg=#2902FC gui=none
hi Type guifg=#EF2811 gui=none
hi Statement guifg=#9A1102 gui=none
hi Keyword guifg=#9A1102 gui=none
hi PreProc guifg=#2902FC gui=none
hi Number guifg=#2902FC gui=none
hi Special guifg=#2902FC gui=none
" Bottom
hi Question guifg=white gui=none
hi Question ctermfg=white term=none
hi ModeMsg guifg=white gui=none
" Specific
hi cssIdentifier guifg=#9A1102 gui=none
hi htmlTag guifg=#2902FC gui=none
答案 0 :(得分:1)
突出显示<b>
或<strong>
标记中的文字的语法(取决于
周围标签上的)由以下突出显示组之一定义。
(以下列表摘自:highlight
命令的输出
默认配色方案。)
htmlBoldUnderline xxx term=bold,underline cterm=bold,underline gui=bold,underline
htmlBoldItalic xxx term=bold,italic cterm=bold,italic gui=bold,italic
htmlBold xxx term=bold cterm=bold gui=bold
htmlBoldUnderlineItalic xxx term=bold,underline,italic cterm=bold,underline,italic gui=bold,underline,italic
htmlBoldItalicUnderline xxx links to htmlBoldUnderlineItalic
htmlUnderlineBold xxx links to htmlBoldUnderline
htmlUnderlineBoldItalic xxx links to htmlBoldUnderlineItalic
htmlUnderlineItalicBold xxx links to htmlBoldUnderlineItalic
htmlItalicBold xxx links to htmlBoldItalic
htmlItalicBoldUnderline xxx links to htmlBoldUnderlineItalic
htmlItalicUnderlineBold xxx links to htmlBoldUnderlineItalic
要更改此组的突出显示,请在您的配色方案中重新定义它们
没有bold
属性。
答案 1 :(得分:1)
将let html_my_rendering=1
或let html_no_rendering=1
放到.vimrc
可能会这样做。
答案 2 :(得分:0)
您是否在寻找this之类的内容?