Currenty I am on LaTeX-mode-hook using flycheck
.
(setq LaTeX-item-indent 0)
(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
(add-hook 'LaTeX-mode-hook 'hl-todo-mode)
(require 'tex)
(add-hook 'LaTeX-mode-hook (lambda ()
(TeX-global-PDF-mode t)
))
(setq flyspell-issue-message-flag nil
ispell-local-dictionary "en_US"
ispell-program-name "aspell"
ispell-extra-args '("--sug-mode=ultra"))
(dolist (hook '(text-mode-hook))
(add-hook hook (lambda () (flyspell-mode 1))))
(dolist (hook '(change-log-mode-hook log-edit-mode-hook))
(add-hook hook (lambda () (flyspell-mode -1))))
For example I am getting following flycheck-warning
message when I write function()
into my .tex
file:
You should put a space in front of parenthesis. [36]
[Q] Is there any way to ignore specific flycheck-warning
messages?
--nowarn 36
to theCmdLine
section of yourchktexrc
file.