New answers tagged

1

There are plenty. One is my own plugin, the code of which is straightforward: " Show the highlight groups under the cursor " Maintainer: David Ben Knoble <ben.knoble@gmail.com> " Last Change: 2018 May 11 if !has("syntax") || &compatible echohl ErrorMsg echomsg "vim-synstax requires the +syntax features" echohl None finish endif ...


1

You can try hiding it using set fillchars=vert:\ hi! VertSplit guifg=black guibg=black ctermfg=black ctermbg=black Instead of black use color of your terminal or colorscheme background (not sure about various fancy terminals out there) NOTE: vert:\ the space at the end. It also works with windows terminal (preview): (you have to set fillchars, though)


0

While you have fixed VertSplit highlighting I don't see anywhere here the replacement of the actual vert 'fillchar' value. We know removing it doesn't help as it will fall back to a default value but this seems to me to be a sufficient workaround: :set fillchars=vert:\ ,..the rest.. (That's an escaped Space char.)


0

it seems like its impossible to completely remove the fillchars You can't really remove it, but you can make it invisible: " must be before setting your colorscheme augroup nosplit | au! autocmd ColorScheme * hi VertSplit ctermfg=bg guifg=bg augroup end


5

This is happening because Vim's HTML syntax will use style htmlHead to the text within the <head> block and it will link it to syntax group PreProc. (The PreProc group is meant for pre-processor directives, such as #include or #define in C/C++.) The slate colorscheme uses a white background (guibg=white) for the PreProc group, so it ends up styling ...


3

The identifier was cppSTLnamespace. Thanks to @D.Ben Knoble for his plugin! The full command is hi cppSTLbamespace guifg=...


0

You can try this vimscript (add to your vimrc and call SetHLGreen() function) "" Get all highlights in a raw string fun! GetHLStr() redir => all_hl highlight redir END return all_hl endfun "" Set all known highlight groups to green fun! SetHLGreen() " get highlight groups without printing it in vim silent let hl_str = GetHLStr() ...


0

Most filetypes (like python) in Vim come with a syntax that defines highlight groups (see them via :highlight python<C-d>). These particular groups (e.g. pythonFunction) are then linked to a set of default groups (:help highlight-groups, e.g. Identifier). A colorscheme then provides combinations of foreground / background color and/or formatting like ...


Top 50 recent answers are included