@@ -54,7 +54,6 @@ if markdown_extras.use_prettier
5454endif
5555
5656def SetMarkdownOpFunc ()
57- utils.save_surround_view = winsaveview ()
5857 &l: opfunc = function (' utils.FormatWithoutMoving' )
5958enddef
6059
@@ -137,7 +136,6 @@ if empty(maparg('<Plug>MarkdownToggleCheck'))
137136endif
138137
139138def SetLinkOpFunc ()
140- utils.save_surround_view = winsaveview ()
141139 &l: opfunc = function (links.CreateLink)
142140enddef
143141
@@ -172,7 +170,6 @@ if exists('g:markdown_extras_config')
172170endif
173171
174172def SetSurroundOpFunc (style: string )
175- utils.save_surround_view = winsaveview ()
176173 &l: opfunc = function (Surround, [style])
177174enddef
178175
@@ -217,7 +214,6 @@ if empty(maparg('<Plug>MarkdownRemove'))
217214endif
218215
219216def SetHighlightOpFunc ()
220- utils.save_surround_view = winsaveview ()
221217 &l: opfunc = function (highlights.AddProp)
222218enddef
223219
@@ -227,7 +223,6 @@ if empty(maparg('<Plug>MarkdownHighlight'))
227223endif
228224
229225def SetCodeBlock ()
230- utils.save_surround_view = winsaveview ()
231226 &l: opfunc = function (utils.SetBlock)
232227enddef
233228
@@ -238,7 +233,6 @@ endif
238233
239234
240235def SetQuoteBlockOpFunc ()
241- utils.save_surround_view = winsaveview ()
242236 &l: opfunc = function (utils.SetQuoteBlock)
243237enddef
244238
0 commit comments