aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/emacs.d/emacs.org
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2024-04-03 10:12:23 -0600
committerKenny Ballou <kb@devnulllabs.io>2024-04-03 10:12:23 -0600
commite6c3dca9499b80fa4e406dc9397720c75f8a5cf9 (patch)
tree3bb8488e69f6787ed6e0350c3b07428f42d39d94 /config/emacs/emacs.d/emacs.org
parent74305c54fbe8e220e691d5c2f69e9c36766b37da (diff)
downloaddotfiles-e6c3dca9499b80fa4e406dc9397720c75f8a5cf9.tar.gz
dotfiles-e6c3dca9499b80fa4e406dc9397720c75f8a5cf9.tar.xz
config: emacs: add some headers for eglot
For the different parts of EGlot configuration, add some headings to filter and collapse portions. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/emacs.org')
-rw-r--r--config/emacs/emacs.d/emacs.org33
1 files changed, 32 insertions, 1 deletions
diff --git a/config/emacs/emacs.d/emacs.org b/config/emacs/emacs.d/emacs.org
index 1ba85a8b..57b6b57b 100644
--- a/config/emacs/emacs.d/emacs.org
+++ b/config/emacs/emacs.d/emacs.org
@@ -3064,6 +3064,16 @@ Most shell applications accept Perl Compatible Regular Expressions."
:ID: 7946a063-78e7-4c72-8290-b7840cc5fbf4
:END:
+****** Server Functions
+:PROPERTIES:
+:ID: 377c23eb-0ac8-4fb4-96e6-afe3acb0cd08
+:END:
+
+******* C/C++
+:PROPERTIES:
+:ID: 21998014-6ebf-48b5-a06e-1acc88a9096e
+:END:
+
#+begin_src elisp
(defun kb/c*-eglot-server (interactive?)
"Return the eglot server for C/C++."
@@ -3075,6 +3085,11 @@ Most shell applications accept Perl Compatible Regular Expressions."
"ccls"))
#+end_src
+******* Java
+:PROPERTIES:
+:ID: b83c7628-aa3c-4fd6-b572-f8125061c875
+:END:
+
#+begin_src elisp
(defun kb/java-eglot-server (interactive?)
"Return the eglot server for Java."
@@ -3107,10 +3122,15 @@ Most shell applications accept Perl Compatible Regular Expressions."
:profile "GoogleStyle"))
:completion (:guessMethodArguments t)
:autobuild (:enabled "false")))
- :extendClientCapabilities (:classFileContentSupport t))
+ :extendClientCapabilities (:classFileContentSupport t))
))
#+end_src
+******* Python
+:PROPERTIES:
+:ID: bcacda85-83d9-45ae-96d3-ca79c7fd18e4
+:END:
+
#+begin_src elisp
(defun kb/python-eglot-server (interactive?)
"Return the eglot server for Python."
@@ -3122,6 +3142,11 @@ Most shell applications accept Perl Compatible Regular Expressions."
"pylsp"))
#+end_src
+******* LaTeX/BibTex
+:PROPERTIES:
+:ID: b2819741-9865-4088-b1ca-1c24e0f96b2e
+:END:
+
#+begin_src elisp
(defun kb/latex-eglot-server (interactive?)
"Return the eglot server for LaTeX."
@@ -3138,6 +3163,12 @@ Most shell applications accept Perl Compatible Regular Expressions."
"--"
"texlab"))
#+end_src
+
+****** Eglot Configuration
+:PROPERTIES:
+:ID: a184b310-86c8-4950-8b10-8b65bb0e7c8b
+:END:
+
#+begin_src elisp
(use-package eglot
:commands (eglot eglot-ensure)