Skip to content

Conditionally use vim9script syntax - #88

Closed
sodapopcan wants to merge 1 commit into
tpope:masterfrom
sodapopcan:vim9
Closed

Conditionally use vim9script syntax#88
sodapopcan wants to merge 1 commit into
tpope:masterfrom
sodapopcan:vim9

Conversation

@sodapopcan

@sodapopcan sodapopcan commented Jul 27, 2026

Copy link
Copy Markdown

:mksession now uses vim9script as of patch 9.2.0579.

I don't believe it's part of a release yet but I build from source and this causes a script error every time I quit and re-enter Vim.

`:mksession` now uses vim9script as of patch 9.2.0579.
@sodapopcan

sodapopcan commented Jul 27, 2026

Copy link
Copy Markdown
Author

Oh, I'm not sure if this needs a && !has('nvim') tacked on. From my understanding it does not but I'm not 100% sure, but like 99.9% sure because why would nvim merge a patch that adds vim9script to Session files.

@tpope

tpope commented Jul 28, 2026

Copy link
Copy Markdown
Owner

I need to look closer but I think #87, which I initially had feedback on, is on the right track?

@sodapopcan

Copy link
Copy Markdown
Author

Oh wow, I got tunnel vision on #48's subject and didn't notice this one. My bad.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants