diff options
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r-- | .config/nvim/lua/plugins.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index a1e342d..679cf6e 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -20,6 +20,7 @@ local PKGS = { { url = "https://github.com/echasnovski/mini.nvim.git" }; { url = "https://github.com/catppuccin/nvim.git" }; { url = "https://github.com/mbbill/undotree.git" }; + { url = "https://github.com/chentoast/marks.nvim.git" }; -- Status line { url = "https://github.com/akinsho/bufferline.nvim.git" }; @@ -275,6 +276,30 @@ local function init_plugins() yadm = { enable = false }; } + require("marks").setup({ + -- whether to map keybinds or not. default true + default_mappings = false; + -- which builtin marks to show. default {} + builtin_marks = { "."; "<"; ">"; "^" }; + -- whether movements cycle back to the beginning/end of buffer. default true + cyclic = true; + -- whether the shada file is updated after modifying uppercase marks. default false + force_write_shada = false; + -- how often (in ms) to redraw signs/recompute mark positions. + -- higher values will have better performance but may cause visual lag, + -- while lower values may cause performance penalties. default 150. + refresh_interval = 250; + -- sign priorities for each type of mark - builtin marks, uppercase marks, lowercase + -- marks, and bookmarks. + -- can be either a table with all/none of the keys, or a single number, in which case + -- the priority applies to all marks. + -- default 10. + sign_priority = { lower = 10; upper = 15; builtin = 8; bookmark = 20 }; + -- disables mark tracking for specific filetypes. default {} + excluded_filetypes = { "" }; + mappings = {}; + }) + require("neotest").setup({ adapters = { require("neotest-dotnet") } }) end |