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

Change Syntax Highlightert on save with known extension. #241

Closed
wants to merge 2 commits into from
Closed

Change Syntax Highlightert on save with known extension. #241

wants to merge 2 commits into from

Conversation

Marsma13
Copy link

@Marsma13 Marsma13 commented May 4, 2022

I am using babi in different way than you usually starting from babi. When I save file the syntax highliting is not enabled and i have to close and reopen file. I added simple setter on filename to initialize syntax highlighter. Hope I do not mess with tests :)

@asottile
Copy link
Owner

asottile commented May 4, 2022

this doesn't really solve the issue outlined in #82 only a subset of it

@asottile asottile closed this May 4, 2022
@asottile
Copy link
Owner

asottile commented May 4, 2022

note that you can use :reload today without needing to close and reopen

@Marsma13
Copy link
Author

Marsma13 commented May 4, 2022

For me :reload does not work. That is why I came with that patch.

@asottile
Copy link
Owner

asottile commented May 4, 2022

err sorry, I meant :retheme

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