You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for this great tool. I recently started using it together with NeoVim and it works splendid!
As documented, the config file is on macOS looked for in $HOME/Library/Application\ Support/Luacheck and not in the XDG path $XDG_CONFIG_HOME/luacheck.
macOS is also a modern Unix-like/based system and it would make sense to look for the config file in the XDG Path if not found in the Library path. I manage my config files in a dotfiles repo and have everything in ~/.config that supports this. I think many developers in macOS also utilize the XDG paths.
In my case this meant that in the NeoVim plugin ALE I had to configure luacheck with extra options:
This is not the right repository to report this — the canonical repository for LuaCheck is now under lunarmodules. See #198 for background. I would request you close this issue (since nobody else has access to do so) and open a new one on the canonical repository (assuming this is an issue in the current version, v1.1.0). Contributions are welcome, this sounds like a reasonable suggestion.
First, thanks for this great tool. I recently started using it together with NeoVim and it works splendid!
As documented, the config file is on macOS looked for in
$HOME/Library/Application\ Support/Luacheck
and not in the XDG path$XDG_CONFIG_HOME/luacheck
.macOS is also a modern Unix-like/based system and it would make sense to look for the config file in the XDG Path if not found in the Library path. I manage my config files in a dotfiles repo and have everything in
~/.config
that supports this. I think many developers in macOS also utilize the XDG paths.In my case this meant that in the NeoVim plugin ALE I had to configure luacheck with extra options:
This should not be needed.
The code that would need update is here:
luacheck/src/luacheck/config.lua
Lines 31 to 37 in 7360cfb
If not finding a config in the Library path, the same logic that is currently in the
else
clause should be done in the Darwin caseThe text was updated successfully, but these errors were encountered: