fix(csharp): csharp-tree-sitter-mode: void-function error in Emacs 29+
In Emacs 29.0.60, csharp-mode was absorbed into Emacs, and csharp-tree-sitter-mode was replaced with built-in support for the new treesit.el library.
This commit is contained in:
parent
8be11ff48c
commit
78895d89ee
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ or terminating simple string."
|
|||
:defer t
|
||||
:init
|
||||
(add-hook 'csharp-mode-local-vars-hook #'tree-sitter! 'append)
|
||||
(add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-tree-sitter-mode)))
|
||||
(if (fboundp #'csharp-tree-sitter-mode)
|
||||
(add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-tree-sitter-mode))))
|
||||
|
||||
|
||||
;; Unity shaders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue