Not working with `gruvbox-material` colorscheme.
AGou-ops opened this issue · 2 comments
AGou-ops commented
colorscheme: gruvbox-material
I have tried this #issuecomment-899205397 and my config is default.
dathinaios commented
I managed to resolve this. See this issue for the solution. As far as I can tell this plugin is not necessary anymore, at least for my use of gruvbox-material
and nord
. Here is my gruvbox-material
setup for reference:
-- https://github.com/sainnhe/gruvbox-material
vim.fn.sign_define("DiagnosticSignError", {text='¤', texthl='red', linehl='', numhl=''})
vim.fn.sign_define("DiagnosticSignWarn", {text='•', texthl='yellow', linehl='', numhl=''})
vim.fn.sign_define("DiagnosticSignHint", {text='»', texthl='green', linehl='', numhl=''})
vim.fn.sign_define("DiagnosticSignInfo", {text='i', texthl='gray', linehl='', numhl=''})
vim.api.nvim_exec(
[[
augroup nord-theme-overrides
autocmd!
autocmd ColorScheme gruvbox-material highlight Folded ctermfg=LightGray guifg=#918d88
autocmd ColorScheme gruvbox-material highlight Folded ctermbg=235 guibg=#282828
autocmd ColorScheme gruvbox-material highlight Folded cterm=italic gui=italic
autocmd ColorScheme gruvbox-material highlight SignColumn ctermbg=235 guibg=#282828
autocmd ColorScheme gruvbox-material highlight DiagnosticSign ctermbg=235 guibg=#282828
augroup END
let g:gruvbox_material_diagnostic_text_highlight = 1
let g:gruvbox_material_diagnostic_line_highlight = 1
let g:gruvbox_material_diagnostic_virtual_text = 1
colorscheme gruvbox-material
]], false)
AGou-ops commented
@dathinaios It works! Thank you very much!!!