Skip to content

Commit

Permalink
address formatting suggestions & free variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeacock19 committed Apr 2, 2024
1 parent e79cd6b commit 870d459
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<img align="right" src="./etc/logo.png" with="138" height="46">

# flymake-languagetool

> Flymake support for LanguageTool.
[![CI](https://github.com/emacs-languagetool/flymake-languagetool/actions/workflows/test.yml/badge.svg)](https://github.com/emacs-languagetool/flymake-languagetool/actions/workflows/test.yml)
Expand All @@ -21,6 +22,7 @@ The instruction to use this plugin.
2. Consider adding one of the following snippets to your configuration.

#### Local LanguageTool Server

```el
(use-package flymake-languagetool
:ensure t
Expand All @@ -35,6 +37,7 @@ The instruction to use this plugin.
```

#### Free LanguageTool Account

```el
(use-package flymake-languagetool
:ensure t
Expand All @@ -49,6 +52,7 @@ The instruction to use this plugin.
```

#### Premium LanguageTool Account

```el
(use-package flymake-languagetool
:ensure t
Expand Down Expand Up @@ -78,13 +82,15 @@ included in `flymake-languagetool-active-modes`.
## 🧪 Configuration

### Sentence Awareness

`flymake-languagetool` now uses emacs sentence navigation to send only portions
of the text that have been modified rather than the entire buffer. In order for
this to behave in an expected manner, you may have to modify
`sentence-end-double-space`. The default is set to `true` and may cause some
contextual issues if you only use a single space to separate sentences.

### language
### Language

The language used for flymake can be customized by using
`flymake-languagetool-language` (Default `"en-US"`)

Expand Down
1 change: 1 addition & 0 deletions flymake-languagetool.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

;; Dynamically bound.
(defvar url-http-end-of-headers)
(defvar forward-sentence-function)

(defgroup flymake-languagetool nil
"Flymake support for LanguageTool."
Expand Down

0 comments on commit 870d459

Please sign in to comment.