Skip to content

Session.vim: Cannot use :let in Vim 9 script #89

Description

@trev-dev

My vim seems to create a vim9script Session.vim where two little lets seem to throw when I re-start a session:

if filereadable(sx)
  exe "source " .. fnameescape(sx)
endif
&g:so = so_save | &g:siso = siso_save
nohlsearch
let g:this_session = v:this_session
let g:this_obsession = v:this_session
doautoall SessionLoadPost
unlet g:SessionLoad
# vim: set ft=vim :

The nuisance goes away and the session seems to otherwise keep working

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions