Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore yaml-mode #4

Open
swarnendubiswas opened this issue May 25, 2023 · 2 comments
Open

Ignore yaml-mode #4

swarnendubiswas opened this issue May 25, 2023 · 2 comments

Comments

@swarnendubiswas
Copy link

swarnendubiswas commented May 25, 2023

LTEX is currently used for managing yaml-mode buffers as well, which is not desired in most cases. A better alternative is to use the yaml-language-server. Please exclude yaml-mode from using LTEX.

@jcs090218
Copy link
Member

I don't think this package activates in yaml-mode? 🤔

eglot-ltex/eglot-ltex.el

Lines 45 to 53 in 6e13ad0

(defcustom eglot-languagetool-active-modes
'( text-mode
bibtex-mode context-mode latex-mode
markdown-mode org-mode
rst-mode)
"List of major mode that work with LanguageTool."
:type 'list
:group 'eglot-grammarly)

@swarnendubiswas
Copy link
Author

swarnendubiswas commented May 26, 2023

Yes, it does. yaml-mode derives from text-mode.

Nit: The :group 'eglot-grammarly is wrong. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants