mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
refactor(ess): remove tree-sitter support
No *-ts-mode exists for ess-r-mode (or any other ess mode, afaik). The ess module will fall back to font-lock rules so this is not a breaking changing.
This commit is contained in:
@@ -13,9 +13,6 @@ SAS, Julia and Stata.
|
||||
** Module flags
|
||||
- +stan ::
|
||||
Enable support for ~stan-mode~, including code completion and syntax checking.
|
||||
- +tree-sitter ::
|
||||
Leverages tree-sitter for better syntax highlighting and structural text
|
||||
editing. Currently only supports ~ess-r-mode~. Requires [[doom-module::tools tree-sitter]].
|
||||
|
||||
** Packages
|
||||
- [[doom-package:ess]]
|
||||
|
@@ -24,9 +24,6 @@
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'ess-r-mode-local-vars-hook #'lsp! 'append))
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'ess-r-mode-local-vars-hook #'tree-sitter! 'append))
|
||||
|
||||
(set-repl-handler! 'ess-r-mode #'run-ess-r)
|
||||
(set-repl-handler! 'ess-julia-mode #'run-ess-julia)
|
||||
(set-lookup-handlers! '(ess-r-mode ess-julia-mode)
|
||||
|
Reference in New Issue
Block a user