feat(emacs): adoc & hcl

This commit is contained in:
Pavel Korytov 2023-09-19 20:47:51 +03:00
parent 5aab6a4837
commit 3207d95ca8
2 changed files with 20 additions and 2 deletions

View file

@ -702,7 +702,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
perspective-exwm-switch-perspective
my/persp-ivy-switch-buffer-other-window
lsp-execute-code-action
dired-recent-open))
dired-recent-open
my/index-nav))
;; Do not use prescient in find-file
(ivy--alist-set 'ivy-sort-functions-alist #'read-file-name-internal #'ivy-sort-file-function-default))
@ -2311,6 +2312,9 @@ Returns (<buffer> . <workspace-index>) or nil."
;; :config
;; (setq livedown-browser "qutebrowser"))
(use-package adoc-mode
:straight t)
(use-package plantuml-mode
:straight t
:mode "(\\.\\(plantuml?\\|uml\\|puml\\)\\'"
@ -2666,6 +2670,9 @@ Returns (<buffer> . <workspace-index>) or nil."
:config
(my/set-smartparens-indent 'nginx-mode))
(use-package hcl-mode
:straight t)
(add-hook 'sh-mode-hook #'smartparens-mode)
(use-package fish-mode

View file

@ -1188,7 +1188,8 @@ References:
perspective-exwm-switch-perspective
my/persp-ivy-switch-buffer-other-window
lsp-execute-code-action
dired-recent-open))
dired-recent-open
my/index-nav))
;; Do not use prescient in find-file
(ivy--alist-set 'ivy-sort-functions-alist #'read-file-name-internal #'ivy-sort-file-function-default))
#+end_src
@ -3126,6 +3127,11 @@ Section snippets. The code turned out to be more complicated than just writing t
;; :config
;; (setq livedown-browser "qutebrowser"))
#+end_src
*** Ascii Doc
#+begin_src emacs-lisp
(use-package adoc-mode
:straight t)
#+end_src
*** PlantUML
| Guix dependency |
@ -3668,6 +3674,11 @@ A package to quickly create =.gitignore= files.
:config
(my/set-smartparens-indent 'nginx-mode))
#+end_src
*** HCL
#+begin_src emacs-lisp
(use-package hcl-mode
:straight t)
#+end_src
** Shell
*** sh
#+begin_src emacs-lisp