summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 584a94ca..2f338b9a 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1029,11 +1029,13 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             nim-mode-hook
             html-mode-hook
             nix-mode-hook
+            toml-ts-mode-hook
             haskell-mode-hook)
           #'eglot-ensure)
   :config (progn
             (when (assoc 'nix-mode eglot-server-programs)
               (setf (car (assoc 'nix-mode eglot-server-programs)) '(nix-mode nix-ts-mode)))
+            (nconc eglot-server-programs '((toml-ts-mode "taplo" "lsp" "stdio")))
             (advice-add 'eglot--message :before-while (lambda (formatstring &rest rest)
                                                         (s-starts-with-p "Connected!" formatstring)))
             (defun my/setup-eglot-eldoc ()