diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/nvcodeline.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/nvcodeline.lua b/lua/nvcodeline.lua index f66c2e9a..e416b2c3 100644 --- a/lua/nvcodeline.lua +++ b/lua/nvcodeline.lua @@ -256,3 +256,16 @@ gls.short_line_left[1] = { -- highlight = {colors.grey,colors.purple} -- } -- } +-- function! s:my_bookmark_color() abort +-- let s:scl_guibg = matchstr(execute('hi SignColumn'), 'guibg=\zs\S*') +-- if empty(s:scl_guibg) +-- let s:scl_guibg = 'NONE' +-- endif +-- exe 'hi MyBookmarkSign guifg=' . s:scl_guibg +-- endfunction +-- call s:my_bookmark_color() " don't remove this line! + +-- augroup UserGitSignColumnColor +-- autocmd! +-- autocmd ColorScheme * call s:my_bookmark_color() +-- augroup END |