add graphviz-dot-mode
This commit is contained in:
5 files changed
+14
-1
No files matched your search
@@ -190,3 +190,6 @@
|
|||||||
[submodule "site-lisp/plantuml-mode"]
|
[submodule "site-lisp/plantuml-mode"]
|
||||||
path = site-lisp/plantuml-mode
|
path = site-lisp/plantuml-mode
|
||||||
url = https://github.com/skuro/plantuml-mode.git
|
url = https://github.com/skuro/plantuml-mode.git
|
||||||
|
[submodule "site-lisp/graphviz-dot-mode"]
|
||||||
|
path = site-lisp/graphviz-dot-mode
|
||||||
|
url = https://github.com/ppareit/graphviz-dot-mode.git
|
||||||
@@ -26,7 +26,8 @@
|
|||||||
|
|
||||||
(with-eval-after-load 'editorconfig
|
(with-eval-after-load 'editorconfig
|
||||||
(add-to-list 'editorconfig-indentation-alist '(js-ts-mode js-indent-level))
|
(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)
|
(provide 'init-editorconfig)
|
||||||
@@ -56,6 +56,10 @@
|
|||||||
(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
|
(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.cmake\\'" . 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
|
;; optimize performance of long-line files
|
||||||
(setq-default bidi-display-reordering t)
|
(setq-default bidi-display-reordering t)
|
||||||
(setq bidi-inhibit-bpa t
|
(setq bidi-inhibit-bpa t
|
||||||
|
|||||||
@@ -83,5 +83,9 @@
|
|||||||
(with-eval-after-load 'ob-plantuml
|
(with-eval-after-load 'ob-plantuml
|
||||||
(setq org-plantuml-exec-mode '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)
|
(provide 'init-org)
|
||||||
Submodule
+1
Submodule site-lisp/graphviz-dot-mode added at 8ff793b137.
Reference in new issue
Block a user