Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to vim9script's autoload requirements #5

Open
bohlender opened this issue May 1, 2023 · 0 comments
Open

Adapt to vim9script's autoload requirements #5

bohlender opened this issue May 1, 2023 · 0 comments
Assignees
Labels

Comments

@bohlender
Copy link
Owner

bohlender commented May 1, 2023

The plugin's auto-formatting relies on vim9script which was still "experimental" during development of that functionality. It seems that later iterations of vim9script got a bit more restrictive wrt. naming of symbols so the auto-formatting throws an error on more recent versions of Vim.

Error detected while processing ~/.vim/bundle/vim-smt2/autoload/smt2/formatter.vim:
line   95:
E1263: Cannot use name with # in Vim9 script, use export instead
E117: Unknown function: smt2#formatter#FormatAllParagraphs

Goal: Figure out what exactly the new expectation of vim9script is and make auto-formatting again available for all versions after Vim v8.2.2725.

@bohlender bohlender added the bug label May 1, 2023
@bohlender bohlender self-assigned this May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant