summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index c6864c55..99198bb0 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -77,6 +77,10 @@
(straight-use-package 'lsp-ui)
(straight-use-package 'yasnippet)
+(add-hook 'java-mode-hook (lambda ()
+ (setq c-basic-offset 2
+ indent-tabs-mode f)))
+
(yas-global-mode 1)
;; Rust support