summaryrefslogtreecommitdiff
path: root/lua/config/plugins/lastplace.lua
diff options
context:
space:
mode:
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" },
+}