General cleanup
This commit is contained in:
parent
010bc8de7b
commit
d20c8045ab
3 changed files with 4 additions and 5 deletions
|
@ -285,7 +285,6 @@ byte-compilation."
|
||||||
(unless (server-running-p)
|
(unless (server-running-p)
|
||||||
(server-start)))
|
(server-start)))
|
||||||
|
|
||||||
;; Benchmark
|
|
||||||
(add-hook 'after-init-hook #'doom--display-benchmark t))))
|
(add-hook 'after-init-hook #'doom--display-benchmark t))))
|
||||||
|
|
||||||
(defalias 'def-package! 'use-package
|
(defalias 'def-package! 'use-package
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
(defun ,def-name ()
|
(defun ,def-name ()
|
||||||
(require 'company)
|
(require 'company)
|
||||||
(setq-local company-backends (append '((,@backends)) company-backends)))
|
(setq-local company-backends (append '((,@backends)) company-backends)))
|
||||||
(add-hook! ,modes ',def-name))))
|
(add-hook! ,modes #',def-name))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
(unless (file-directory-p gopath)
|
(unless (file-directory-p gopath)
|
||||||
(error "GOPATH isn't set up (%s)" gopath))
|
(error "GOPATH isn't set up (%s)" gopath))
|
||||||
(mapc (lambda (url)
|
(mapc (lambda (url)
|
||||||
(unless (file-directory-p (expand-file-name (concat "src/" url) gopath))
|
(unless (file-directory-p (expand-file-name (concat "src/" url) gopath))
|
||||||
(sh "%s get -u '%s'" gobin url)
|
(sh "%s get -u '%s'" gobin url)
|
||||||
(setq changed t)))
|
(setq changed t)))
|
||||||
'("github.com/nsf/gocode"
|
'("github.com/nsf/gocode"
|
||||||
"github.com/motemen/gore"
|
"github.com/motemen/gore"
|
||||||
"golang.org/x/tools/cmd/guru"
|
"golang.org/x/tools/cmd/guru"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue