summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1fe9d0d0..8b448ec7 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -347,7 +347,7 @@ With two prefix arguments, write out the day and month name."
            (company-auto-complete #'company-explicit-action-p)
            (company-auto-complete-chars '(?\ ?\( ?\) ?.)))
   :general (:states 'insert
-		    "TAB" #'company-complete))
+                    "TAB" #'company-indent-or-complete-common))
 
 (use-package all-the-icons)
 
@@ -454,7 +454,8 @@ With two prefix arguments, write out the day and month name."
 
 ;;; Editing
 
-(setq-default indent-tabs-mode nil)
+(setq-default indent-tabs-mode nil
+              tab-always-indent 'complete)
 
 ;;; Major modes