mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
refactor(graphviz): remove tree-sitter support
No *-ts-mode exists for graphviz-dot-mode. The graphviz module will fall back to font-lock rules so this is not a breaking changing.
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
:config
|
||||
(set-company-backend! 'graphviz-dot-mode 'company-graphviz-dot-backend)
|
||||
(set-formatter! 'graphviz-dot #'+graphviz-formatter :modes '(graphviz-dot-mode))
|
||||
(set-tree-sitter-lang! 'graphviz-dot-mode 'dot)
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'graphiz-dot-mode-hook #'tree-sitter!))
|
||||
|
||||
(after! dtrt-indent
|
||||
(add-to-list 'dtrt-indent-hook-mapping-list '(graphviz-mode graphviz-dot-indent-width)))
|
||||
|
Reference in New Issue
Block a user