mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 03:33:03 +03:00
fix(emacs): lost Go somewhere
This commit is contained in:
parent
718014f5db
commit
9197605658
2 changed files with 19 additions and 1 deletions
|
|
@ -1264,7 +1264,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
"s" 'langtool-server-stop
|
||||
"d" 'langtool-check-done
|
||||
"n" 'langtool-goto-next-error
|
||||
"p" 'langtool-goto-previous-error)
|
||||
"p" 'langtool-goto-previous-error
|
||||
"l" 'langtool-correct-buffer)
|
||||
|
||||
(add-hook 'lisp-interaction-mode-hook #'smartparens-mode)
|
||||
(add-hook 'emacs-lisp-mode-hook #'smartparens-strict-mode)
|
||||
|
|
@ -1297,6 +1298,14 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
:mode "\\.clj[sc]?\\'"
|
||||
:straight t)
|
||||
|
||||
(use-package go-mode
|
||||
:straight t
|
||||
:mode "\\.go\\'"
|
||||
:config
|
||||
(my/set-smartparens-indent 'go-mode)
|
||||
(add-hook 'go-mode-hook #'smartparens-mode)
|
||||
(add-hook 'go-mode-hook #'hs-minor-mode))
|
||||
|
||||
(use-package fish-mode
|
||||
:straight t
|
||||
:mode "\\.fish\\'"
|
||||
|
|
|
|||
|
|
@ -2237,6 +2237,15 @@ References:
|
|||
:straight t)
|
||||
#+end_src
|
||||
** Go
|
||||
#+begin_src emacs-lisp
|
||||
(use-package go-mode
|
||||
:straight t
|
||||
:mode "\\.go\\'"
|
||||
:config
|
||||
(my/set-smartparens-indent 'go-mode)
|
||||
(add-hook 'go-mode-hook #'smartparens-mode)
|
||||
(add-hook 'go-mode-hook #'hs-minor-mode))
|
||||
#+end_src
|
||||
** fish
|
||||
#+begin_src emacs-lisp
|
||||
(use-package fish-mode
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue