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

replace a-list with a hashtable #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Peter015
Copy link
Contributor

@Peter015 Peter015 commented Nov 8, 2023

No description provided.

@Peter015
Copy link
Contributor Author

Peter015 commented Nov 8, 2023

#173

(zig-mode . zig)))
(when (not (gethash (car entry) major-mode-table))
(puthash (car entry) (cdr entry) major-mode-table)))
(advice-remove 'tree-sitter--setup #'tree-sitter-langs--init-major-mode-alist)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right since the variable tree-sitter-major-mode-language-alist doesn't get updated.

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