From e560c498b460bf440a6c3a9f0ae5594acf9822a3 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 20 Apr 2023 23:29:59 -0400 Subject: [PATCH] Fix tab-completion in Java (and other c-like) mode --- emacs/.emacs.d/config/init-java.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/.emacs.d/config/init-java.el b/emacs/.emacs.d/config/init-java.el index dca6cf1..3d70eb5 100644 --- a/emacs/.emacs.d/config/init-java.el +++ b/emacs/.emacs.d/config/init-java.el @@ -4,6 +4,11 @@ (use-package google-c-style :hook (java-mode . google-set-c-style)) +(use-package cc-mode + :straight (:type built-in) + :general + (c-mode-base-map "TAB" #'indent-for-tab-command)) + (use-package protobuf-mode) (provide 'init-java)