TODO View for https://github.com/rxi/lite
This plugin will display notes that are in the code which start with:
todo_tags config. You can also
configure their colors using the tag_colors field if wanted.You can select between two modes:
You can also define between two scopes:
The plugin registers the following key bindings:
You can ignore specific directories or files by using the ignore_paths config.
Example of the tag view

todotreeview.lua file (or the
todotreeview-xl.lua if you are using lite-xl) to the folder data/plugins/
of the lite editor.data/user/init.lua file.core:open-user-module command to open the
user file. Also use config.plugins.todotreeview instead of just config to
modify the multiple settings.local config = require "core.config"
local common = require "core.common"
-- Add extra tags
table.insert(config.todo_tags, "CLEANUP")
-- Set colors for the new tag
config.tag_colors = {
CLEANUP = {
tag={common.color("#008000")},
tag_hover={common.color("#00d000")},
text={common.color("#004000")},
text_hover={common.color("#008000")},
}
}
-- Set the file color when in file mode
config.todo_file_color = {
name={common.color("#A267d9")},
hover={common.color("#6DaE46")},
}
-- Change display mode
config.todo_mode = "file" -- Or "file_tag"
-- Change scope
config.todo_scope = "focused"
-- Change the separator between the tag and the text in file mode
config.todo_separator = " -> "
-- Change the default text if the note is empty
config.todo_default_text = "---"
-- Ignore directory and ignore specific file
table.insert(config.ignore_paths, "winlib/")
table.insert(config.ignore_paths, "README.md")
Lua
100.0%
TODO View for https://github.com/rxi/lite
This plugin will display notes that are in the code which start with:
todo_tags config. You can also
configure their colors using the tag_colors field if wanted.You can select between two modes:
You can also define between two scopes:
The plugin registers the following key bindings:
You can ignore specific directories or files by using the ignore_paths config.
Example of the tag view

todotreeview.lua file (or the
todotreeview-xl.lua if you are using lite-xl) to the folder data/plugins/
of the lite editor.data/user/init.lua file.core:open-user-module command to open the
user file. Also use config.plugins.todotreeview instead of just config to
modify the multiple settings.local config = require "core.config"
local common = require "core.common"
-- Add extra tags
table.insert(config.todo_tags, "CLEANUP")
-- Set colors for the new tag
config.tag_colors = {
CLEANUP = {
tag={common.color("#008000")},
tag_hover={common.color("#00d000")},
text={common.color("#004000")},
text_hover={common.color("#008000")},
}
}
-- Set the file color when in file mode
config.todo_file_color = {
name={common.color("#A267d9")},
hover={common.color("#6DaE46")},
}
-- Change display mode
config.todo_mode = "file" -- Or "file_tag"
-- Change scope
config.todo_scope = "focused"
-- Change the separator between the tag and the text in file mode
config.todo_separator = " -> "
-- Change the default text if the note is empty
config.todo_default_text = "---"
-- Ignore directory and ignore specific file
table.insert(config.ignore_paths, "winlib/")
table.insert(config.ignore_paths, "README.md")
Lua
100.0%