From e29a422a57703b185a58b994eef32db587645d2f Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Tue, 6 May 2025 03:29:42 +0800 Subject: [PATCH] feat nvim: add lastplace --- .../exact_plugins/exact_editor/history.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dot_config/nvim/exact_lua/exact_plugins/exact_editor/history.lua diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/history.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/history.lua new file mode 100644 index 0000000..f387fcb --- /dev/null +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/history.lua @@ -0,0 +1,13 @@ +return { + { 'ethanholz/nvim-lastplace', + lazy = true, + event = { "BufReadPost" }, + config = function() + require("nvim-lastplace").setup({ + lastplace_ignore_buftype = { "quickfix", "nofile", "help" }, + lastplace_ignore_filetype = { "gitcommit", "gitrebase", "svn", "hgcommit" }, + lastplace_open_folds = true, + }) + end, + }, +}