Skip to content

replace a-list with a hashtable#276

Open
Peter015 wants to merge 1 commit intoemacs-tree-sitter:masterfrom
Peter015:master
Open

replace a-list with a hashtable#276
Peter015 wants to merge 1 commit intoemacs-tree-sitter:masterfrom
Peter015:master

Conversation

@Peter015
Copy link
Copy Markdown
Contributor

@Peter015 Peter015 commented Nov 8, 2023

No description provided.

@Peter015
Copy link
Copy Markdown
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
Copy Markdown
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