Open ilan-schemoul opened 3 months ago
This seems to always return an empty table because on mason-bridge setup the associations are loaded async. So it's not ready by the time you need it when you call lint/conform setup.
Seems like the options forward:
load_associations_async
synchronous, but then you'd experience a hang on startuplint.linters_by_ft
and conform.formatters_by_ft
I think I would prefer callbacks to prevent the need to add autocmds
EDIT: maybe I don't understand "lazy" because if I add a timer it works nvim-lint
mason-bridge.lua
mason.lua