summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-24 20:57:49 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-24 20:57:49 +0200
commit0ea43875b7dc5c43e372c9bf9b666486c2d56df8 (patch)
treefbddf6b5bb9435eed343136aae90d989ea82719b /plugin
parent49622e90708ae0987153a6e2beed967217ff2721 (diff)
downloadnvim-config-0ea43875b7dc5c43e372c9bf9b666486c2d56df8.tar.gz
nvim-config-0ea43875b7dc5c43e372c9bf9b666486c2d56df8.zip
docs(nvim): edit comment
Diffstat (limited to 'plugin')
-rw-r--r--plugin/50-extmarks.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/50-extmarks.lua b/plugin/50-extmarks.lua
index c9e9eaa..593321d 100644
--- a/plugin/50-extmarks.lua
+++ b/plugin/50-extmarks.lua
@@ -3,8 +3,9 @@
--
-- * Creates a global highlight namespace for extended marks.
-- * Keeps track of the current global highlight namespace in `vim.g.hl_ns`.
--- * Creates an autocommand that initializes and updates extended marks when 'background' or the
--- color scheme change.
+-- * Creates an autocommand that marks matches in each buffer on 'FileType' and keeps them in sync
+-- as the buffer changes. Marks follow the theme on their own: the `dotfiles.Todo` group links to
+-- `Todo`, so a colorscheme / 'background' change re-colors them with no extra wiring.
-- For now, only "TODO" strings are marked but the system can be easily extended by adding items
-- in `marks`.
-- Doesn't support multi-line patterns.