add comments
This commit is contained in:
@@ -29,16 +29,18 @@ end, { desc = "Reload the current colorscheme" })
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
-- Command `:TSHighlightRoots` (works but uncomment only when used)
|
||||
-- Description:
|
||||
-- Collects all Tree-sitter highlight groups, resolves their links,
|
||||
-- and outputs the unique root groups actually used (for theming/debugging).
|
||||
--
|
||||
-- Usage:
|
||||
-- :TSHighlightRoots → prints roots in the command line
|
||||
-- :TSHighlightRoots <filename> → writes roots into <filename> (overwrites)
|
||||
-- (filename supports `~` and tab-completion)
|
||||
--
|
||||
--[[
|
||||
Command :TSHighlightRoots (works but uncomment only when used)
|
||||
|
||||
Description:
|
||||
Collects all Tree-sitter highlight groups, resolves their links,
|
||||
and outputs the unique root groups actually used (for theming/debugging).
|
||||
|
||||
Usage:
|
||||
:TSHighlightRoots -> prints roots in the command line
|
||||
:TSHighlightRoots <filename> -> writes roots into <filename> (overwrites)
|
||||
(filename supports ~ and tab-completion)
|
||||
]]
|
||||
-- local function resolve_link(name)
|
||||
-- local seen = {}
|
||||
-- while name and not seen[name] do
|
||||
@@ -88,7 +90,6 @@ end, { desc = "Reload the current colorscheme" })
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
----------------------------------------------
|
||||
----------------------------------------------
|
||||
-- Useful tricks that do not fully work
|
||||
----------------------------------------------
|
||||
|
||||
@@ -40,8 +40,7 @@ vim.opt.mouse = "a"
|
||||
|
||||
-- Full path on status line
|
||||
vim.opt.statusline = "%= %F%m%r%h%w ─ (%l,%c %P) %="
|
||||
vim.opt.fillchars:append({ stl = '─', stlnc = '─' })
|
||||
|
||||
vim.opt.fillchars:append({ stl = "─", stlnc = "─" })
|
||||
|
||||
-- Sync clipboard between OS and Neovim
|
||||
vim.schedule(function()
|
||||
|
||||
Reference in New Issue
Block a user