Skip to content

Commit

Permalink
Merge pull request #1659 from bolsen/main
Browse files Browse the repository at this point in the history
java-mode: Use c-mode indentation function to indent Java files
  • Loading branch information
cxxxr authored Nov 30, 2024
2 parents 32a1d12 + 79784a3 commit 136788a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/java-mode/java-mode.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ see : https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html
:mode-hook *java-mode-hook*)
(setf (variable-value 'enable-syntax-highlight) t
(variable-value 'indent-tabs-mode) nil
(variable-value 'calc-indent-function) 'lem-c-mode::calc-indent
(variable-value 'tab-width) 2
(variable-value 'line-comment) "//"))

Expand Down

0 comments on commit 136788a

Please sign in to comment.