add gitsigns features toggles

In options.lua you can now set:
- vim.g.git_line_hl: to enable line highlights
- vim.g.git_word_hl: to enable word highlights
This commit is contained in:
2025-02-15 21:24:25 -05:00
parent df54d30b24
commit 26e183e519
2 changed files with 17 additions and 16 deletions
+7 -1
View File
@@ -31,6 +31,13 @@ vim.g.lazyvim_python_lsp = "pyright" ---@type string Options: [python
-- Use tiny-inline-diagnostic
vim.g.usetinyinline = true ---@type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ GIT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Highlight lines with git changes
vim.g.git_line_hl = false ---@type boolean Options: <true|false>
-- Highlight words with git changes
vim.g.git_word_hl = false ---@type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━ FORMAT AND SAVE ━━━━━━━━━━━━━━━━━━━━━━━━━━━
vim.opt.foldlevel = 99 ---@type integer Options: <0-99>
@@ -41,7 +48,6 @@ vim.g.autosave = true ---@type boolean Options: <true|
-- Enable encouraging feedback
vim.g.encourage_me = true ---@type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ MISCELLANEOUS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Use WakaTime for code stats