diff options
| author | Magdalena Szweda <roughlynamed@disroot.org> | 2026-09-18 17:18:11 +0200 |
|---|---|---|
| committer | Magdalena Szweda <roughlynamed@disroot.org> | 2026-09-18 20:01:51 +0200 |
| commit | 8ee08f6c356d6aaf5ea9f9e644c126a683ca948f (patch) | |
| tree | cb75326ce34e32a3ec8345b9abaa7bb1fd15e2d8 /+eglot.el | |
| parent | bb94aa9bae95cb10ce41f3ebe58266e508d58c9d (diff) | |
emacs: fucking everythign bro
Diffstat (limited to '+eglot.el')
| -rw-r--r-- | +eglot.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/+eglot.el b/+eglot.el new file mode 100644 index 0000000..2f26d72 --- /dev/null +++ b/+eglot.el @@ -0,0 +1,18 @@ +;;; $DOOMDIR/+eglot.el -*- lexical-binding: t; -*- +;; TODO: make eglot work with HTML +(use-package! eglot + :hook + (prog-mode . eglot-ensure) + (markdown-mode . eglot-ensure)) +(after! eglot + (cl-defmethod eglot-register-capability + (server (method (eql workspace/didChangeWatchedFiles)) id &key watchers) + nil) + (add-to-list 'eglot-server-programs + '((markdown-mode) + . ("zk" "lsp"))) + (add-to-list 'eglot-server-programs + '((typescript-ts-mode javascript-mode) + . ("oxlint" "--lsp")))) +(setq eglot-sync-connect nil + eglot-connect-timeout 60) |
