# HG changeset patch # User Steve Losh # Date 1706793906 18000 # Node ID cbc4da8970848ba4d3cb6ca2d9273a0114ff953b # Parent 599e1bb1aee98e563132553cf8b7bc32cb402b75 Add string bold toggling to goodwolf diff -r 599e1bb1aee9 -r cbc4da897084 colors/goodwolf.vim --- a/colors/goodwolf.vim Tue Sep 13 13:21:33 2022 -0400 +++ b/colors/goodwolf.vim Thu Feb 01 08:25:06 2024 -0500 @@ -266,6 +266,18 @@ 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 {{{