dotfiles

andersuno dotfiles
git clone git://git.andersuno.nu/dotfiles.git
Log | Files | Refs | README

commit 4d83419c8f46d7653848a49c957653f82ea2cd60
parent 697b36f37e712ed68b35bc94f8950a891a5af2a4
Author: Anders Hedman <anders.hedman01@gmail.com>
Date:   Mon, 20 Oct 2025 22:02:59 +0200

doom(config.el): Add ansible alternative to eglot yaml-mode

Diffstat:
M.doom.d/config.el | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/.doom.d/config.el b/.doom.d/config.el @@ -259,6 +259,15 @@ "galaxy.yml" "galaxy.yaml")) +(with-eval-after-load 'eglot + (add-to-list 'eglot-server-programs + `((yaml-ts-mode yaml-mode) + . ,(eglot-alternatives + '(("yaml-language-server" "--stdio") + ("ansible-language-server" "--stdio")))))) + ;; ("yaml-language-server" "--stdio")) + ;; '(ansible-mode . ("ansible-language-server" "--stdio")))) + (defun ansible-navigator-run () "Utilize terminal-here-launch to run BUFFER with ansible-navigator" (interactive)