Add string bold toggling to goodwolf

This commit is contained in:
Steve Losh
2024-02-01 08:25:06 -05:00
parent 1c50a17fc8
commit 3fae5a19ed

View File

@@ -266,6 +266,18 @@ call GoodWolfHL('Error', 'snow', 'taffy', 'bold')
call GoodWolfHL('Debug', 'snow', '', 'bold')
call GoodWolfHL('Ignore', 'gravel', '', '')
let g:goodwolf_string_style = 'bold'
function GoodWolfToggleBoldStrings()
if g:goodwolf_string_style == 'bold'
let g:goodwolf_string_style = 'none'
else
let g:goodwolf_string_style = 'bold'
endif
call GoodWolfHL('String', 'lightgravel', '', g:goodwolf_string_style)
endfunction
" }}}
" Completion Menu {{{