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

Remove old code meant for Sublime Text 3 #1811

Merged
merged 3 commits into from
Nov 19, 2023
Merged

Remove old code meant for Sublime Text 3 #1811

merged 3 commits into from
Nov 19, 2023

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Nov 19, 2023

Fixes #1770

Since we don't pre-populate `syntax_file_map` both getter for
`registered_syntaxes` returned a new and empty (throw-away) list.
Basically rendering `remember_syntax_choice` a noop.
As we only ever used the most recent entry (`syntaxes[-1]`) simplify
the code by just storing one value in the first place.

Keeping the hot-reloading mechanism as is would clash as we change the
type of `syntax_file_map` here.  Remove it as it is unlikely to be
useful.
@kaste kaste merged commit c7c795e into master Nov 19, 2023
8 checks passed
@kaste kaste deleted the fixup-file-py branch November 19, 2023 19:39
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.

Remove ST3 support in common/util/file.py
1 participant