Compare commits

..

3 Commits

3 changed files with 10 additions and 3 deletions

View File

@ -5,9 +5,13 @@
:hook (java-mode . google-set-c-style))
(use-package lsp-java
:hook (java-mode . lsp-deferred)
:custom
(lsp-java-maven-download-sources t))
(lsp-java-maven-download-sources t)
(lsp-java-configuration-runtimes '[(:name "JavaSE-11"
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk"
:default t)
(:name "JavaSE-17"
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk")]))
(defvar java-debug-map (make-sparse-keymap))
(general-def java-mode-map
@ -22,6 +26,7 @@
(setq dap-java-test-additional-args '("-n" "\".*(Test|IT).*\"")))
(defun jdormit-java-setup ()
(lsp-deferred)
(require 'dap-java)
(dap-mode))

View File

@ -11,7 +11,7 @@
:prefix-map 'leader-map))
(use-package which-key
:hook (after-init . which-key-mode))
:hook (after-init . (lambda () (which-key-mode 1))))
(leader-def-key "SPC" #'execute-extended-command)

View File

@ -29,6 +29,8 @@ brew "python@3.9"
brew "restic"
brew "ripgrep"
brew "ruby"
brew "sbt"
brew "scala"
brew "stow"
brew "railwaycat/emacsmacport/emacs-mac"
cask "alfred"