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

Support gfm-mode #12

Open
yupyvovarov opened this issue Oct 19, 2021 · 5 comments
Open

Support gfm-mode #12

yupyvovarov opened this issue Oct 19, 2021 · 5 comments
Labels
good first issue Good for newcomers

Comments

@yupyvovarov
Copy link

While markdown-mode is supported, GitHub Flavored Markdown (gfm-mode) doesn't.

@jcs090218
Copy link
Member

You can set variable flycheck-grammarly-active-modes to '(gfm-mode). The default value is '(text-mode latex-mode org-mode markdown-mode).

@jcs090218 jcs090218 added the good first issue Good for newcomers label Oct 22, 2021
@yupyvovarov
Copy link
Author

You can set variable flycheck-grammarly-active-modes to '(gfm-mode). The default value is '(text-mode latex-mode org-mode markdown-mode).

It's the first what I did

flycheck-grammarly-active-modes is a variable defined in ‘flycheck-grammarly.el’.
Its value is (gfm-mode text-mode latex-mode org-mode markdown-mode)
Original value was 
(text-mode latex-mode org-mode markdown-mode)

But the check still doesn't work:

Syntax checker in buffer README.md in gfm-mode:

  grammarly
    - major mode: `gfm-mode' not supported
    - may enable: yes

Flycheck cannot use this syntax checker for this buffer.

Flycheck Mode is enabled.  Use C-u C-c ! x to enable disabled
checkers.

@jcs090218
Copy link
Member

Sorry for the late reply.

Does it give you any error? Sorry I don't use gfm-mode. 😅

@ajax-pyvovarov-y
Copy link

@jcs090218 Nope, any errors.

@feng-li
Copy link

feng-li commented Apr 5, 2024

@yupyvovarov You could try to add the mode to custom-set-variables like

'(flycheck-languagetool-active-modes
   '(text-mode latex-mode LaTeX-mode org-mode markdown-mode gfm-mode message-mode))

or using the :custom key to config it with use-package

(use-package flycheck-grammarly
  :custom
  (flycheck-grammarly-active-modes
   '(text-mode latex-mode LaTeX-mode org-mode markdown-mode gfm-mode message-mode))
  :config
  ...
  )

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

No branches or pull requests

4 participants