dense-analysis / dense-analysis/ale
ALE Should Not Run When Entering an Empty File
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
I added these two lines in my Neovim configuration (Lua) to not run ALE automatically after exiting insert mode:
```lua
vim.g.ale_lint_on_text_changed = "never"
vim.g.ale_lint_on_insert_leave = 0
```
If I enter into an empty Haskell file, (`neovim file.hs`), I will get an error message even though I haven't written anything yet. I think it should not show any warnings or errors if the file is empty.
Contributor guide
Assessment
This issue has not been assessed yet.