Remove Java and C# configs
This commit is contained in:
parent
08ef40170c
commit
5cbae91478
36
config.org
36
config.org
@ -919,26 +919,6 @@
|
|||||||
(add-to-list 'auto-mode-alist '("\\.pl\\'" . prolog-mode))
|
(add-to-list 'auto-mode-alist '("\\.pl\\'" . prolog-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Java
|
|
||||||
[[https://github.com/jdee-emacs/jdee][JDEE]] provides a whole bunch of tooling for Java. It requires the
|
|
||||||
[[https://github.com/jdee-emacs/jdee-server][JDEE server]] to work properly, which has to be built seperately
|
|
||||||
(this requires JDK and Maven):
|
|
||||||
|
|
||||||
#+begin_src shell :tangle no
|
|
||||||
cd ~/src
|
|
||||||
git clone https://github.com/jdee-emacs/jdee-server.git
|
|
||||||
cd jdee-server
|
|
||||||
mvn -Dmaven.test.skip=true package
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
With that built, we can install JDEE, pointing at the built server:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package jdee
|
|
||||||
:config
|
|
||||||
(setq jdee-server-dir "~/src/jdee-server/target"))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Dockerfiles
|
** Dockerfiles
|
||||||
Grab =dockerfile-mode= for syntax highlighting etc in Dockerfiles:
|
Grab =dockerfile-mode= for syntax highlighting etc in Dockerfiles:
|
||||||
|
|
||||||
@ -1038,22 +1018,6 @@
|
|||||||
(add-hook 'python-mode-hook #'lsp-deferred)
|
(add-hook 'python-mode-hook #'lsp-deferred)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** C#
|
|
||||||
I hate the .NET ecosystem quite a lot, but alas: sometimes I have
|
|
||||||
to use it at work.
|
|
||||||
|
|
||||||
Using =csharp-mode= for basic support:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package csharp-mode)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
And =lsp-mode= for the rest (using the omnisharp server):
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-hook 'csharp-mode-hook #'lsp-deferred)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Ada
|
** Ada
|
||||||
*** Old ada-mode
|
*** Old ada-mode
|
||||||
Unfortunately, the =ada-mode= on ELPA is hot garbage. It requires
|
Unfortunately, the =ada-mode= on ELPA is hot garbage. It requires
|
||||||
|
Loading…
x
Reference in New Issue
Block a user