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

Example for programming language #8

Open
npajkovsky opened this issue Feb 2, 2024 · 2 comments
Open

Example for programming language #8

npajkovsky opened this issue Feb 2, 2024 · 2 comments

Comments

@npajkovsky
Copy link

Hello,

can you please show me how to set it up for Rust (or any other language)?

I'm really struggling.

@jcs090218
Copy link
Member

LTEX is a grammar checking tool. Not sure why you want it to work for Rust.

Here is the list of supported languages:

eglot-ltex/eglot-ltex.el

Lines 48 to 62 in 856daac

'((org-mode :language-id "org")
;; Hack for version >=16 of ltex-ls with git commit support. For
;; earlier versions it should just fall back to plaintext. This
;; requires setting git-commit-major-mode to
;; 'git-commit-elisp-text-mode. This is a hack because
;; git-commit-elisp-text-mode isn't a general purpose git commit
;; major mode, but it does the job
(git-commit-elisp-text-mode :language-id "gitcommit")
(bibtex-mode :language-id "bibtex")
(context-mode :language-id "context")
(latex-mode :language-id "latex")
(markdown-mode :language-id "markdown")
(rst-mode :language-id "restructuredtext")
(text-mode :language-id "plaintext"))
"List of major mode that work with LanguageTool."

@npajkovsky
Copy link
Author

npajkovsky commented Feb 3, 2024

Because I'm making typos in function names, comments, variables and nearly everywhere. It would be handy to have grammer/spell check similar to vscode or jetbrains.

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