Skip to content

Commit

Permalink
Fix documentation for editor vim plugin ALE (#13348)
Browse files Browse the repository at this point in the history
The documented configuration did not work. On failure, ALE suggest to
run `ALEFixSuggest`, into with it documents the working configuration
key

'ruff_format' - Fix python files with the ruff formatter.

Fix an inaccuracy in the documentation, regarding the ALE plugin for the
Vim text editor.
  • Loading branch information
FinchPowers authored Sep 13, 2024
1 parent d988204 commit 8b49845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/editors/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ extension for [coc.nvim](https://github.com/neoclide/coc.nvim).
" Linter
let g:ale_linters = { "python": ["ruff"] }
" Formatter
let g:ale_fixers = { "python": ["ruff-format"] }
let g:ale_fixers = { "python": ["ruff_format"] }
```

</details>
Expand Down

0 comments on commit 8b49845

Please sign in to comment.