Compare commits
3 Commits
41677f6be2
...
5db4e4f331
Author | SHA1 | Date | |
---|---|---|---|
5db4e4f331 | |||
bd5bfc5f3f | |||
137e4efea7 |
@ -5,9 +5,13 @@
|
|||||||
:hook (java-mode . google-set-c-style))
|
:hook (java-mode . google-set-c-style))
|
||||||
|
|
||||||
(use-package lsp-java
|
(use-package lsp-java
|
||||||
:hook (java-mode . lsp-deferred)
|
|
||||||
:custom
|
: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))
|
(defvar java-debug-map (make-sparse-keymap))
|
||||||
(general-def java-mode-map
|
(general-def java-mode-map
|
||||||
@ -22,6 +26,7 @@
|
|||||||
(setq dap-java-test-additional-args '("-n" "\".*(Test|IT).*\"")))
|
(setq dap-java-test-additional-args '("-n" "\".*(Test|IT).*\"")))
|
||||||
|
|
||||||
(defun jdormit-java-setup ()
|
(defun jdormit-java-setup ()
|
||||||
|
(lsp-deferred)
|
||||||
(require 'dap-java)
|
(require 'dap-java)
|
||||||
(dap-mode))
|
(dap-mode))
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
:prefix-map 'leader-map))
|
:prefix-map 'leader-map))
|
||||||
|
|
||||||
(use-package which-key
|
(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)
|
(leader-def-key "SPC" #'execute-extended-command)
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@ brew "python@3.9"
|
|||||||
brew "restic"
|
brew "restic"
|
||||||
brew "ripgrep"
|
brew "ripgrep"
|
||||||
brew "ruby"
|
brew "ruby"
|
||||||
|
brew "sbt"
|
||||||
|
brew "scala"
|
||||||
brew "stow"
|
brew "stow"
|
||||||
brew "railwaycat/emacsmacport/emacs-mac"
|
brew "railwaycat/emacsmacport/emacs-mac"
|
||||||
cask "alfred"
|
cask "alfred"
|
||||||
|
Loading…
Reference in New Issue
Block a user