-
Notifications
You must be signed in to change notification settings - Fork 3
settings very noisy #15
Comments
A setting for each language was on purpose. You're saying you only want your enabled formatters to show up in the settings, and nothing else? If so, that might be doable, but I don't really see a problem with the current approach. |
yes that would be great
I probably will never program in nearly all of those languages 😄 but I will probably come back to some other settings of micro or other plugins one day or another. Now the fmt plugin bloats it in a way that makes it harder for me to parse for the other useful options. Apart from that, I installed uncrustify and love it! It just works! I wanted to do something similar in sublime but it seemed a bit more involved so I am happy to see how easy it is in micro! |
So I could remove the As far as I'm aware, there isn't a |
maybe just go for changing the create_options() and have it improve the current way for the 90% use case and let the deletion be an obligation of the user for the time being? |
That would technically be an "API" change, since it changes the users interaction (even if only when manipulating I'm not against making the move to v4 over something like this, but if I was going to do that then I'd want to address the issue with @zyedidia Is there any way of deleting an option previously created with |
not sure how many people rely on that api as of now but better safe than sorry, right. good to know you're not against it 👍 |
So I'm working on this at the moment, since I have no idea if/when a |
Hmm.. If I made all of the plugin's settings into its own (Lua) file, then I could read/write/edit at-will without it getting messed up by Micro. Then that file could be included with That would also allow for any over-rides to dynamically call/get the editor's current settings (tab width, tabs/spaces, etc). edit: Or maybe just parse the custom commands for some sort of identifier to insert tabwidth & whatnot. |
Continued discussion should take place here https://gitlab.com/sum01/fmt-micro/issues/15 |
fmt version:
3.1.1
Expected behavior:
only used languages appear in the config
Actual behavior:
all languages appear/ most of them like
"fortran-formatter": "",
which is quite disturbingI hope this is either a user error or relatively inexpensive to fix.
The text was updated successfully, but these errors were encountered: