-
-
Notifications
You must be signed in to change notification settings - Fork 26
Ability to configure declaratively with table values #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is the way I used it initially. but when you write multiple languages this way very ugly compare with chain call... |
The chain call DSL is an imperative configuration though, I like to try to keep everything as much as possible declarative. Would you be open to supporting both mechanisms of configuration? |
Just write a parser. convert the data in the ft table to filetype module . not difficult . would you like to open a pr for this or wait me in weekend. |
I can open a PR |
Would you be open to the ability to configure all the formatters and linters via
setup()
? It could be done like this:This would allow for a declarative configuration using
lazy.nvim
'sopts = {}
option.The text was updated successfully, but these errors were encountered: