shell: export GOPATH="$HOME/src/go" in .profile
[~bandali/configs] / .emacs.d / init.el
index a0b328e..dc046a8 100644 (file)
@@ -793,6 +793,7 @@ For disabling the behaviour for certain buffers and/or modes."
         (mode . scheme-mode)
         (mode . haskell-mode)
         (mode . lean-mode)
+        (mode . go-mode)
         (mode . alloy-mode)))
       ("tex"
        (or
@@ -947,6 +948,12 @@ For disabling the behaviour for certain buffers and/or modes."
   :hook ((text-mode . indicate-buffer-boundaries-left)
          (text-mode . abbrev-mode)))
 
+(use-feature conf-mode
+  :mode "\\.*rc$")
+
+(use-feature sh-mode
+  :mode "\\.bashrc$")
+
 (use-package company
   :defer 0.6
   :bind
@@ -1168,6 +1175,8 @@ For disabling the behaviour for certain buffers and/or modes."
     :custom
     (font-latex-fontify-sectioning 'color)))
 
+(use-package go-mode)
+
 \f
 ;;; Theme