dense-analysis / dense-analysis/ale

ALE Should Not Run When Entering an Empty File

Open
#4,284 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.