Files
lua-nvim/lua/cargdev/plugins/marks.lua

27 lines
986 B
Lua

-- ============================================================================
-- MARKS: Enhanced marks with visual indicators
-- ============================================================================
-- Shows marks in the sign column and provides better mark management.
-- Supports bookmarks with annotations. Has BufDelete autocmd to clean up
-- marks when buffers are deleted (marks._on_delete).
-- ============================================================================
return {
"chentoast/marks.nvim",
event = "VeryLazy",
opts = {
default_mappings = true,
builtin_marks = { ".", "<", ">", "^" },
cyclic = true,
force_write_shada = false,
refresh_interval = 250,
sign_priority = { lower = 10, upper = 15, builtin = 8, bookmark = 20 },
excluded_filetypes = { "NvimTree", "neo-tree", "lazy", "mason", "help" },
bookmark_0 = {
sign = "",
virt_text = "bookmark",
annotate = false,
},
mappings = {},
},
}