File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,17 +244,6 @@ function! s:state_filter(line) " {{{3
244244 elseif a: line = ~ ' ^file .\{-}__Tag_List__$'
245245 " Same trick (about the E95) for TagList.
246246 return ' " ' . a: line
247- elseif a: line = ~ ' ^args '
248- " The :mksession command adds an :args line to the session file, but when
249- " :args is executed during a session restore it edits the first file it is
250- " given, thereby breaking the session that the user was expecting to
251- " get... I consider this to be a bug in :mksession, but anyway :-).
252- return ' " ' . a: line
253- elseif a: line = ~ ' ^\(argglobal\|\dargu\)$'
254- " Because we disabled the :args command above we cause a potential error
255- " when :mksession adds corresponding :argglobal and/or :argument commands
256- " to the session script.
257- return ' " ' . a: line
258247 elseif a: line = ~ " ^\\ s*silent exe 'bwipe ' \\ . s:wipebuf$" || a: line = ~ ' ^unlet! s:wipebuf$'
259248 " Disable Vim's special handling of the initial, empty buffer because it
260249 " breaks restoring of special windows with content generated by a Vim
You can’t perform that action at this time.
0 commit comments