summaryrefslogtreecommitdiff
path: root/lua/config/plugins/lastplace.lua
diff options
context:
space:
mode:
authorMarcelo <setanta@gmail.com>2025-03-03 21:05:55 -0300
committerMarcelo Lira <setanta@gmail.com>2025-03-07 02:15:25 -0300
commitc78361a6155dd53cd1098f7fdf33acfea20dc903 (patch)
treee13b8065c4a1180f3b1d483676b55af4cba2ee4c /lua/config/plugins/lastplace.lua
Initial commit.
Diffstat (limited to 'lua/config/plugins/lastplace.lua')
-rw-r--r--lua/config/plugins/lastplace.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/config/plugins/lastplace.lua b/lua/config/plugins/lastplace.lua
new file mode 100644
index 0000000..f409397
--- /dev/null
+++ b/lua/config/plugins/lastplace.lua
@@ -0,0 +1,17 @@
+return {
+ -- Intelligently reopen files at your last edit position in Vim.
+ {
+ "ethanholz/nvim-lastplace",
+ config = function()
+ require("nvim-lastplace").setup({
+ lastplace_ignore_buftype = { "quickfix", "nofile", "help" },
+ lastplace_ignore_filetype = { "gitcommit", "gitrebase" },
+ lastplace_open_folds = true
+ })
+ end
+ },
+
+ -- vim-fetch enables Vim to process line and column jump specifications
+ -- in file paths as found in stack traces and similar output.
+ { "wsdjeg/vim-fetch" },
+}