cbc4da897084

Add string bold toggling to goodwolf
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 01 Feb 2024 08:25:06 -0500
parents 599e1bb1aee9
children fbbdfbde7b87
branches/tags (none)
files colors/goodwolf.vim

Changes

--- 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 {{{