forked from colonelpanic/dotfiles
[Emacs] Reindent emit-prefix-selector
This commit is contained in:
parent
6df8ea9f7a
commit
771681965d
@ -2417,31 +2417,6 @@ reference to the jedi-core package.
|
|||||||
'imalison:add-expected-test-name-for-suite)))
|
'imalison:add-expected-test-name-for-suite)))
|
||||||
(use-package company-go
|
(use-package company-go
|
||||||
:config (setq company-go-show-annotation t))
|
:config (setq company-go-show-annotation t))
|
||||||
(use-package go-projectile :demand t)
|
|
||||||
(use-package go-eldoc :demand t)
|
|
||||||
(use-package go-guru
|
|
||||||
:demand t
|
|
||||||
:bind (:map go-mode-map
|
|
||||||
("M-." . go-guru-definition))
|
|
||||||
:preface
|
|
||||||
(progn
|
|
||||||
(defun imalison:set-go-guru-scope ()
|
|
||||||
(setq go-guru-scope (go-mode-parse-glide-novendor)))
|
|
||||||
(defun go-mode-parse-glide-novendor ()
|
|
||||||
(s-join ","
|
|
||||||
(cl-loop for path in (s-split "\n" (imalison:glide-novendor))
|
|
||||||
collect (if (string-equal path ".")
|
|
||||||
(imalison:go-workspace-path)
|
|
||||||
(s-replace "\./" (imalison:go-workspace-path) path))))))
|
|
||||||
:config
|
|
||||||
(progn
|
|
||||||
(advice-add 'go-guru--set-scope-if-empty :before 'imalison:set-go-guru-scope)
|
|
||||||
(advice-add 'go-guru-start :before 'imalison:set-go-guru-scope)
|
|
||||||
(advice-add 'go-guru-definition :around 'imalison:advise-normal-go-command)
|
|
||||||
(advice-add 'go-guru-definition :before
|
|
||||||
(lambda ()
|
|
||||||
(with-no-warnings
|
|
||||||
(ring-insert find-tag-marker-ring (point-marker)))))))
|
|
||||||
|
|
||||||
(advice-add 'go-import-add :around 'imalison:advise-normal-go-command)
|
(advice-add 'go-import-add :around 'imalison:advise-normal-go-command)
|
||||||
|
|
||||||
@ -2638,8 +2613,8 @@ eval-last-sexp.
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** Keybinds
|
**** Keybinds
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(emit-compose imalison:copy-eval-last-sexp
|
(emit-compose
|
||||||
kill-new prin1-to-string eval-last-sexp)
|
imalison:copy-eval-last-sexp kill-new prin1-to-string eval-last-sexp)
|
||||||
|
|
||||||
(emit-prefix-selector imalison:eval-last-sexp
|
(emit-prefix-selector imalison:eval-last-sexp
|
||||||
eval-region-or-last-sexp
|
eval-region-or-last-sexp
|
||||||
@ -4901,7 +4876,7 @@ Ensure all themes that I use are installed:
|
|||||||
** all-the-icons
|
** all-the-icons
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package all-the-icons
|
(use-package all-the-icons
|
||||||
:defer 5)
|
:demand t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** doom-modeline
|
** doom-modeline
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user