forked from colonelpanic/dotfiles
whitespace tweak
This commit is contained in:
parent
6dff22bbf6
commit
3a5cc2580d
@ -2273,7 +2273,6 @@ items follow a style that is consistent with other prog-modes."
|
|||||||
(add-hook 'before-save-hook 'gofmt-before-save t)
|
(add-hook 'before-save-hook 'gofmt-before-save t)
|
||||||
(defun go-mode-workspace-path ()
|
(defun go-mode-workspace-path ()
|
||||||
(file-relative-name (projectile-project-root)
|
(file-relative-name (projectile-project-root)
|
||||||
(concat (file-name-as-directory (or (getenv "GOPATH") "~/go")) "src")))
|
|
||||||
(defun go-mode-install-current-project ()
|
(defun go-mode-install-current-project ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(start-process "go install" "go install log" "go" "install"
|
(start-process "go install" "go install log" "go" "install"
|
||||||
|
Loading…
Reference in New Issue
Block a user