Christian Clason

Results 1764 comments of Christian Clason

> Python, bash, and yaml have special regexes which help improve indents: https://github.com/zed-industries/zed/blob/9c11d24887a4d001a5fcf46911b269ea3abf93d7/crates/languages/src/python/config.toml#L31. Would we be able to emulate this as well? (I think the answer is yes...) Actually, that...

Then it might be the wrong tool for the job, and we should just stick with Vimdents. Unlike Zed, we already _have_ a working indentation system, so adding tree-sitter indentation...

I'm pragmatic about this, but I do not want language-specific "hacks" in the generic `indent.lua` module. Hence my comment about handling this with special captures or predicates (or metadata). It's...

Of course, since it doesn't even require special captures or predicates.