Skip to content

Commit

Permalink
Fix emacs integration snippet in Readme (#199)
Browse files Browse the repository at this point in the history
Add missing closing parenthesis and reformat
  • Loading branch information
real-or-random authored Jan 24, 2022
1 parent 804fb2e commit 7062054
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,10 @@ A dedicated `flycheck-checker` can be defined as in the following `init.el/.emac
:command ("java" "-jar" (eval (expand-file-name "~/PATH/TO/textidote.jar")) "--read-all"
"--check" (eval (if ispell-current-dictionary (substring ispell-current-dictionary 0 2) "en"))
"--no-color" source-inplace)
:error-patterns (
(warning line-start "* L" line "C" column "-" (one-or-more alphanumeric) " "
(message (one-or-more (not (any "]"))) "]")))
(add-to-list 'flycheck-checkers 'tex-textidote)
:error-patterns ((warning line-start "* L" line "C" column "-" (one-or-more alphanumeric) " "
(message (one-or-more (not (any "]"))) "]"))))
(add-to-list 'flycheck-checkers 'tex-textidote)
```

## Rules checked by TeXtidote
Expand Down

0 comments on commit 7062054

Please sign in to comment.