mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
lightbulb config
This commit is contained in:
parent
6d0c0efad8
commit
a86ddbe415
1 changed files with 34 additions and 0 deletions
34
lua/nv-lightbulb/init.lua
Normal file
34
lua/nv-lightbulb/init.lua
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
-- Showing defaults
|
||||||
|
require'nvim-lightbulb'.update_lightbulb {
|
||||||
|
sign = {
|
||||||
|
enabled = true,
|
||||||
|
-- Priority of the gutter sign
|
||||||
|
priority = 10,
|
||||||
|
text = "💡",
|
||||||
|
},
|
||||||
|
float = {
|
||||||
|
enabled = false,
|
||||||
|
-- Text to show in the popup float
|
||||||
|
text = "💡",
|
||||||
|
-- Available keys for window options:
|
||||||
|
-- - height of floating window
|
||||||
|
-- - width of floating window
|
||||||
|
-- - wrap_at character to wrap at for computing height
|
||||||
|
-- - max_width maximal width of floating window
|
||||||
|
-- - max_height maximal height of floating window
|
||||||
|
-- - pad_left number of columns to pad contents at left
|
||||||
|
-- - pad_right number of columns to pad contents at right
|
||||||
|
-- - pad_top number of lines to pad contents at top
|
||||||
|
-- - pad_bottom number of lines to pad contents at bottom
|
||||||
|
-- - offset_x x-axis offset of the floating window
|
||||||
|
-- - offset_y y-axis offset of the floating window
|
||||||
|
-- - anchor corner of float to place at the cursor (NW, NE, SW, SE)
|
||||||
|
-- - winblend transparency of the window (0-100)
|
||||||
|
win_opts = {},
|
||||||
|
},
|
||||||
|
virtual_text = {
|
||||||
|
enabled = false,
|
||||||
|
-- Text to show at virtual text
|
||||||
|
text = "💡",
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue