aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-08-27 23:59:20 +0800
committerGuangxiong Lin <[email protected]>2021-08-27 23:59:20 +0800
commitf2d256f7aad38e5a952eb3471b4c413fcb41bb76 (patch)
tree2964ae7be089830eb6554b6b6a0c4699a9a55217
parentd54e502f40031f0a604a423380ab440eb09d8fe5 (diff)
downloaddotfiles-f2d256f7aad38e5a952eb3471b4c413fcb41bb76.tar.gz
dotfiles-f2d256f7aad38e5a952eb3471b4c413fcb41bb76.tar.bz2
dotfiles-f2d256f7aad38e5a952eb3471b4c413fcb41bb76.zip
Update emacs config
-rw-r--r--.emacs.d/lisp/init-lang.el1
-rw-r--r--.emacs.d/lisp/init-misc.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-lang.el b/.emacs.d/lisp/init-lang.el
index b6cf85f..8f70682 100644
--- a/.emacs.d/lisp/init-lang.el
+++ b/.emacs.d/lisp/init-lang.el
@@ -29,6 +29,7 @@
(use-package magit
:ensure t
:config
+ (setq magit-refresh-status-buffer nil)
(evil-define-key 'normal 'global
(kbd "<leader>gs") 'magit))
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index 2b35c95..a31c1bb 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -58,7 +58,7 @@
(use-package company
:init
(setq company-global-modes
- '(emacs-lisp-mode go-mode ledger-mode))
+ '(emacs-lisp-mode go-mode ledger-mode sh-mode))
:hook ((after-init . global-company-mode))
:config
(setq company-minimum-prefix-length 1))