Emacs tweaks
This commit is contained in:
parent
4a3f1becb2
commit
21e43b4f4f
|
@ -91,3 +91,38 @@
|
|||
(setq company-idle-delay 0)
|
||||
(setq company-minimum-prefix-length 1))
|
||||
(use-package go-mode :straight t)
|
||||
(use-package nix-mode :straight t
|
||||
:mode "\\.nix\\'")
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(safe-local-variable-values
|
||||
'((eval modify-syntax-entry 43 "'")
|
||||
(eval modify-syntax-entry 36 "'")
|
||||
(eval modify-syntax-entry 126 "'")
|
||||
(eval let
|
||||
((root-dir-unexpanded
|
||||
(locate-dominating-file default-directory ".dir-locals.el")))
|
||||
(when root-dir-unexpanded
|
||||
(let*
|
||||
((root-dir
|
||||
(expand-file-name root-dir-unexpanded))
|
||||
(root-dir*
|
||||
(directory-file-name root-dir)))
|
||||
(unless
|
||||
(boundp 'geiser-guile-load-path)
|
||||
(defvar geiser-guile-load-path 'nil))
|
||||
(make-local-variable 'geiser-guile-load-path)
|
||||
(require 'cl-lib)
|
||||
(cl-pushnew root-dir* geiser-guile-load-path :test #'string-equal))))
|
||||
(eval setq-local guix-directory
|
||||
(locate-dominating-file default-directory ".dir-locals.el"))))
|
||||
'(warning-suppress-log-types '((comp))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
|
|
4
.zshrc
4
.zshrc
|
@ -24,6 +24,10 @@ if [ $(which rg) != 'rg not found' ]; then
|
|||
alias grep=rg
|
||||
fi
|
||||
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
export GOPATH=$HOME/projects/go
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
|
Loading…
Reference in a new issue