add graphviz-dot-mode
This commit is contained in:
5 files changed
+14
-1
No files matched your search
@@ -26,7 +26,8 @@
|
||||
|
||||
(with-eval-after-load 'editorconfig
|
||||
(add-to-list 'editorconfig-indentation-alist '(js-ts-mode js-indent-level))
|
||||
(add-to-list 'editorconfig-indentation-alist '(plantuml-mode plantuml-indent-level)))
|
||||
(add-to-list 'editorconfig-indentation-alist '(plantuml-mode plantuml-indent-level))
|
||||
(add-to-list 'editorconfig-indentation-alist '(graphviz-dot-mode graphviz-dot-indent-width)))
|
||||
|
||||
|
||||
(provide 'init-editorconfig)
|
||||
@@ -56,6 +56,10 @@
|
||||
(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode))
|
||||
|
||||
(autoload 'graphviz-dot-mode "graphviz-dot-mode" "" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.dot\\'" . graphviz-dot-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.gv\\'" . graphviz-dot-mode))
|
||||
|
||||
;; optimize performance of long-line files
|
||||
(setq-default bidi-display-reordering t)
|
||||
(setq bidi-inhibit-bpa t
|
||||
|
||||
@@ -83,5 +83,9 @@
|
||||
(with-eval-after-load 'ob-plantuml
|
||||
(setq org-plantuml-exec-mode 'plantuml))
|
||||
|
||||
(with-eval-after-load 'org-src
|
||||
(defvar org-src-lang-modes)
|
||||
(add-to-list 'org-src-lang-modes '("dot" . graphviz-dot)))
|
||||
|
||||
|
||||
(provide 'init-org)
|
||||
Reference in new issue
Block a user