dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.51k stars 1.43k forks source link

Update ALEInfo displayed settings #4606

Open w0rp opened 1 year ago

w0rp commented 1 year ago

The ALEInfo list of settings to display hasn't been updated in a long time. We should do the following:

  1. Set up ALEInfo with a blacklist of setting names to not display, and automatically pull in all ALE global and buffer variables so we don't have to update it as much.
  2. Edit the tests for ALEInfo to filter out the setting names so those tests won't break all of the time, except where we explicitly check for the values of settings in output.
  3. Add an explicit "always include" list to show names that are lazy-loaded by virtue of autoload files, so we always show settings we know will be set in other files.
  4. Redundantly set some default values to display in the results in ALEInfo so we can show what the settings will be should some not-yet-loaded autoload files get loaded in later on.

All of the above should make it easier to see what ALE is doing, and discover how to configure it more easily.