1
0
Fork 0

nvim: change highlight xolours via nvim api

This commit is contained in:
tastytea 2022-08-16 23:44:05 +02:00
parent 16226f0a7d
commit 1368924746
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 5 deletions

View File

@ -31,8 +31,6 @@ vim.api.nvim_create_user_command('Ht', 'tab help <args>', {
vim.o.termguicolors = true -- 24 bit colours
vim.cmd('colorscheme amora')
---- make comments a bit lighter
vim.cmd([[
highlight AmoraComment ctermfg=61 guifg=#7C4180
highlight AmoraCommentBold cterm=bold ctermfg=61 gui=bold guifg=#7C4180
]])
vim.api.nvim_set_hl(0, 'AmoraComment', { fg = '#7C4180', ctermfg = 61 })
vim.api.nvim_set_hl(0, 'AmoraCommentBold',
{ fg = '#7C4180', ctermfg = 61, bold = true })