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

ftplugin/julia.vim: Should not reset indentation options in b:undo_ftplugin #14419

Open
kyllingstad opened this issue Apr 5, 2024 · 2 comments

Comments

@kyllingstad
Copy link

Steps to reproduce

This is not easy to reproduce as such, but the issue can be described very concisely:

The b:undo_ftplugin variable defined in runtime/ftplugin/julia.vim resets indentation options like indentexpr. It shouldn't, because that script does not set those options in the first place.

Expected behaviour

Indentation options should not be reset on ftplugin load, only through the actions of b:undo_indent, which is defined in runtime/indent/julia.vim (and correctly so).

Version of Vim

9.1.0252

Environment

Operating system: Arch Linux on WSL

Terminal: Windows Terminal + tmux

Value of $TERM: screen-256color

Shell: zsh 5.9

Logs and stack traces

No response

@kyllingstad kyllingstad added the bug label Apr 5, 2024
@kyllingstad
Copy link
Author

I've also reported this upstream: JuliaEditorSupport/julia-vim#315
But I don't know how that project interacts with this one, so I figured it was best to report it here too.

@chrisbra
Copy link
Member

chrisbra commented Apr 5, 2024

Thanks. Ideally, the change should be coming from upstream, so the maintainers from JuliaEditorSupport/julia-vim#315 should send an updated filetype plugin which fixes this issue.

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

No branches or pull requests

3 participants