diff options
Diffstat (limited to '.vim/lua')
| -rw-r--r-- | .vim/lua/plugins.lua | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 44c8e49..7b15a7a 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -98,31 +98,35 @@ return require('packer').startup({function() end} use {'kosayoda/nvim-lightbulb', -- {{{ + branch = 'virtual-text-column', config = function() - require('nvim-lightbulb').update_lightbulb { + _G.lightbulb_config = { sign = { - enabled = true, + enabled = false, priority = 10, }, float = { - enabled = true, - text = ' ', + enabled = false, + text = '', win_opts = {}, }, virtual_text = { - enabled = false, - text = ' ', + enabled = true, + text = '← ', + text_pos = 'eol', + column = -1, }, status_text = { enabled = false, + text = '', + test_unavailable = '', } } - vim.fn.sign_define('LightBulbSign', {text="⚐", texthl="LightBulbVirtualText"}) - + -- vim.fn.sign_define({{name='LightBulbSign', text='', texthl='LightBulbVirtualText'}}) augroup { lightbulb = { - {'CursorHold', '*', "lua require('nvim-lightbulb').update_lightbulb()"} + {'CursorHold', '*', [[lua require('nvim-lightbulb').update_lightbulb(_G.lightbulb_config)]]} } } end} -- }}} |