From 2d697c3ebe0e35a8e8fe39eeb9d8f8a59bf0e248 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 17 Jan 2025 10:13:02 +0100 Subject: nvim: add lastplace plugin, remove autocmd --- .config/nvim/lua/plugins/lastplace.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .config/nvim/lua/plugins/lastplace.lua (limited to '.config/nvim/lua/plugins/lastplace.lua') diff --git a/.config/nvim/lua/plugins/lastplace.lua b/.config/nvim/lua/plugins/lastplace.lua new file mode 100644 index 0000000..72e5c7f --- /dev/null +++ b/.config/nvim/lua/plugins/lastplace.lua @@ -0,0 +1,11 @@ +return { + { + "ethanholz/nvim-lastplace", + + opts = { + lastplace_ignore_buftype = { "quickfix", "nofile", "help" }, + lastplace_ignore_filetype = { "gitcommit", "gitrebase", "svn", "hgcommit" }, + lastplace_open_folds = true, + }, + } +} -- cgit v1.2.3-70-g09d2