diff .chezmoitemplates/init.lua @ 633:9f040a50eac8

add view to jumpoptions to preserve view when mark was set
author zegervdv <zegervdv@me.com>
date Sat, 06 Aug 2022 11:34:34 +0200
parents ca2687d578d2
children 38a7bca2ba51
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Sat Aug 06 11:31:13 2022 +0200
+++ b/.chezmoitemplates/init.lua	Sat Aug 06 11:34:34 2022 +0200
@@ -793,6 +793,8 @@
   diff = '╱',
 }
 
+opt.jumpoptions:append { 'view' }
+
 opt.foldmethod = 'expr'
 opt.foldexpr = 'nvim_treesitter#foldexpr()'
 opt.foldnestmax = 3