JohnnyMorganz

Results 418 comments of JohnnyMorganz

Something I saw recently was that black has a `--required-version` command line flag to provide similar behaviour

Due to the difficulty in finding a "one-size-fits-all" solution for this issue, I have decided to follow through with #668 and add an `"Input"` option where parentheses are preserved based...

Going to close this original issue with the reasoning explained in https://github.com/JohnnyMorganz/StyLua/issues/248#issuecomment-1817808703. Reliance on input breaks the consistency and bikeshedding principles, so I am quite heavily against it. An alternative...

An example from #606 where its probably better to keep expanded: ```lua vim.keymap.set( "n", "e", function() require("trouble").toggle({ "document_diagnostics", group = false }) end, { desc = "Show LSP errors/diagnostics" }...

It's a bug. Do you have a reproducible example? Unfortunately the C++ exception doesn't give any further information in that error message, so I don't know what and why it...

I just tried moving some code using alt up/down, and it did not produce the error

Can you set `"luau.trace.server": "verbose"`, and then when this issue happens, send me the whole log? I can't seem to be able to reproduce it directly.

It will be somewhat difficult to support this. We currently don't bother formatting comments at all, since comments could consist of anything. We *could* support formatting specifically doc comments, however...

The icon isn't an override, but a default. Your theme should provide an icon for the "luau" language ID

Looking further, there seems to be a few possible ways this could be fixed: - Setting `forceSingleton` to `true` during this call in `checkExprList`: https://github.com/Roblox/luau/blob/0d6aacf407d25d547ddc93266005e33365f82403/Analysis/src/TypeInfer.cpp#L4562 This fixes the issue, but...