mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
feat(emacs): adoc & hcl
This commit is contained in:
parent
5aab6a4837
commit
3207d95ca8
2 changed files with 20 additions and 2 deletions
|
|
@ -702,7 +702,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
perspective-exwm-switch-perspective
|
perspective-exwm-switch-perspective
|
||||||
my/persp-ivy-switch-buffer-other-window
|
my/persp-ivy-switch-buffer-other-window
|
||||||
lsp-execute-code-action
|
lsp-execute-code-action
|
||||||
dired-recent-open))
|
dired-recent-open
|
||||||
|
my/index-nav))
|
||||||
;; Do not use prescient in find-file
|
;; Do not use prescient in find-file
|
||||||
(ivy--alist-set 'ivy-sort-functions-alist #'read-file-name-internal #'ivy-sort-file-function-default))
|
(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
|
;; :config
|
||||||
;; (setq livedown-browser "qutebrowser"))
|
;; (setq livedown-browser "qutebrowser"))
|
||||||
|
|
||||||
|
(use-package adoc-mode
|
||||||
|
:straight t)
|
||||||
|
|
||||||
(use-package plantuml-mode
|
(use-package plantuml-mode
|
||||||
:straight t
|
:straight t
|
||||||
:mode "(\\.\\(plantuml?\\|uml\\|puml\\)\\'"
|
:mode "(\\.\\(plantuml?\\|uml\\|puml\\)\\'"
|
||||||
|
|
@ -2666,6 +2670,9 @@ Returns (<buffer> . <workspace-index>) or nil."
|
||||||
:config
|
:config
|
||||||
(my/set-smartparens-indent 'nginx-mode))
|
(my/set-smartparens-indent 'nginx-mode))
|
||||||
|
|
||||||
|
(use-package hcl-mode
|
||||||
|
:straight t)
|
||||||
|
|
||||||
(add-hook 'sh-mode-hook #'smartparens-mode)
|
(add-hook 'sh-mode-hook #'smartparens-mode)
|
||||||
|
|
||||||
(use-package fish-mode
|
(use-package fish-mode
|
||||||
|
|
|
||||||
13
Emacs.org
13
Emacs.org
|
|
@ -1188,7 +1188,8 @@ References:
|
||||||
perspective-exwm-switch-perspective
|
perspective-exwm-switch-perspective
|
||||||
my/persp-ivy-switch-buffer-other-window
|
my/persp-ivy-switch-buffer-other-window
|
||||||
lsp-execute-code-action
|
lsp-execute-code-action
|
||||||
dired-recent-open))
|
dired-recent-open
|
||||||
|
my/index-nav))
|
||||||
;; Do not use prescient in find-file
|
;; Do not use prescient in find-file
|
||||||
(ivy--alist-set 'ivy-sort-functions-alist #'read-file-name-internal #'ivy-sort-file-function-default))
|
(ivy--alist-set 'ivy-sort-functions-alist #'read-file-name-internal #'ivy-sort-file-function-default))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
@ -3126,6 +3127,11 @@ Section snippets. The code turned out to be more complicated than just writing t
|
||||||
;; :config
|
;; :config
|
||||||
;; (setq livedown-browser "qutebrowser"))
|
;; (setq livedown-browser "qutebrowser"))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
*** Ascii Doc
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package adoc-mode
|
||||||
|
:straight t)
|
||||||
#+end_src
|
#+end_src
|
||||||
*** PlantUML
|
*** PlantUML
|
||||||
| Guix dependency |
|
| Guix dependency |
|
||||||
|
|
@ -3668,6 +3674,11 @@ A package to quickly create =.gitignore= files.
|
||||||
:config
|
:config
|
||||||
(my/set-smartparens-indent 'nginx-mode))
|
(my/set-smartparens-indent 'nginx-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** HCL
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package hcl-mode
|
||||||
|
:straight t)
|
||||||
|
#+end_src
|
||||||
** Shell
|
** Shell
|
||||||
*** sh
|
*** sh
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue