StyLua nvim plugin #93
Replies: 2 comments 5 replies
-
That looks really cool, thanks for doing it! I saw that you're handling errors through a bit of a hacky method, since it's not provided in a great way. Do you reckon I should provide some sort of toggle to output it in something like JSON? May be easier for you to parse |
Beta Was this translation helpful? Give feedback.
-
Is this still under consideration? I was just coming to ask whether you might consider a patch to output errors in a more structured way in order to handle them more neatly in {neo,}vim. The dream, I suppose, would be a flag like |
Beta Was this translation helpful? Give feedback.
-
🙏🏼 huge thanks for StyLua. I've been wanting exactly this for quite some time, so when I landed on this I was quite happy. I was really missing an easy way to within Nvim to just format my file in a sensible way. Just in case anyone else is in this same position, I ended up throwing what I had locally into a plugin, stylua-nvim. It doesn't do a ton, but does pretty much what you'd expect it to. I do plan on supporting range formatting with it as well.
Beta Was this translation helpful? Give feedback.
All reactions