summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/nvim/init.lua b/nvim/nvim/init.lua
index 1193861..f42bd1f 100644
--- a/nvim/nvim/init.lua
+++ b/nvim/nvim/init.lua
@@ -45,7 +45,7 @@ vim.opt.hlsearch = true
-- Jump to latest position
vim.api.nvim_create_autocmd({ "BufReadPost" }, {
- pattern = { "*" },
+ pattern = { '{*}{.git/COMMIT_EDITMSG}\\@<!' },
callback = function()
vim.api.nvim_exec('silent! normal! g`"', false)
end,