0
Ich benutze dieses Skript, um die Gruppe von #comment, um herauszufinden,Wie ändere ich die Lichtfarbe für python #comment in Vim?
nmap <C-S-P> :call <SID>SynStack()<CR>
function! <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
und es zeigt die High-Light-Gruppe „pythonComment“. Wo sollte ich dann die Farbe für "pythonComment" ändern? Die Standardkommentarfarbe ist im Terminal zu dunkel.
Es funktioniert nicht .. Ich habe den zweiten Befehl ausgeführt und die # Kommentare werden die gleiche Farbe wie ordinary Wort (weiß). –
Verwenden Sie 'gVim' oder' vim'? – kev