about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-10-12T17·11+0200
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commitdd2ba5aafcce30ba9b91a561705319d2b6410826 (patch)
tree774a714bd27418c035348598130108bb7eec5988
parentee143eaf147847eada08207c8f72eb04dc834ed5 (diff)
fix: Use indent-relative in Kotlin buffers
-rw-r--r--init.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.el b/init.el
index a29d79c22618..a572d35f9bb1 100644
--- a/init.el
+++ b/init.el
@@ -55,7 +55,6 @@
 (use-package paredit :hook ((lisp-mode . paredit-mode)
                             (emacs-lisp-mode . paredit-mode)))
 (use-package multiple-cursors)
-
 (use-package pinentry
   :init
   (setq epa-pinentry-mode 'loopback)
@@ -125,7 +124,8 @@
 (use-package jq-mode
   :init (add-to-list 'auto-mode-alist '("\\.jq\\'" . jq-mode)))
 
-(use-package kotlin-mode)
+(use-package kotlin-mode
+  :bind (:map kotlin-mode-map ("<tab>" . indent-relative)))
 
 (use-package markdown-mode
   :init
@@ -175,7 +175,6 @@
 ;; Some packages can only be initialised after the rest of the
 ;; settings has been applied:
 
-
 (add-hook 'after-init-hook 'load-other-settings)
 (put 'narrow-to-region 'disabled nil)
 (put 'upcase-region 'disabled nil)