Peter Melnichenko
Peter Melnichenko
Expanding tabs typically means extending a tab into spaces until it reaches a multiple of tab stops in columns (e.g. with tabstop 8 in `abc\tdef` tab should become 5 spaces,...
Hi @houqp, it's not possible at the moment without patching Luacheck. I will look into implementing a plugin system for this, however, it's not obvious how to handle warning code...
@houqp that works, although different plugins have to use different prefixes. Another issue: should plugins be configurable? I.e. should they be able to define their own options?
@dread-uo that's basically what I'm trying to do. The problem is that semantics of some luacheck options are fairly convoluted. I can either make defining options for plugins equally convoluted...
@tyrondis: > I don't really see why style checking should be part of 'luacheck'. Being a linter, I see its purpose more in checking code for potential bugs, like it...
It should be possible to use luacheck lexer for syntax highlighting. For renaming a local variable you could use lexer + parser + linearize module (it resolves identifiers to variables,...
Yes, it will be luasyntax, progress is quite slow because I am rewriting it at the same time to make it more generally useful and extendable. I'll push out lexer...
Sounds like "soon" isn't happening quite yet, unfortunately. Work on luasyntax stopped over many doubts about the interface + ideas about error-recovering, and just not enough effort put into it....
Yes, it's not very well defined what per-path overrides do in global config because it's not clear relatively to which directory they should be interpreted. With local config location of...
Yes, luacheck should probably convert all paths to lowercase when normalizing them before matching globs (on Windows). I think it already normalizes slashes.