I have a theme which is great apart from some minor things. I could already change the LineNr highlight and some others, but can't seem to change the directory highlight in the terminal buffer, which is barely readable. I had to set the termguicolors option to make the theme use the right colors. I might have to mention that I am using Konsole from KDE. I have already tried
hi Directory guifg=#686f9a ctermfg=141 hi Terminal guifg=#686f9a ctermfg=141
and they do nothing. Another solution would be to set a theme just for the terminal buffer. Not sure how this could be accomplished. I have tried
autocmd BufEnter * if getbufvar(bufnr('%'), '&buftype') == "terminal" | colorscheme default | endif
but it also doesn't work. This works for the help buffer, but then it also sets the global theme. I would only want to set it for that buffer. I guess per-buffer theming is not possible at all, is it?