Kyuuhachi

Results 23 comments of Kyuuhachi

Yeah, they use stdin/out (not sure if they even get to know the filename they're working on). The problem (at least how I understand it) is how to display the...

I'm not really familiar with` git show`; it seems to show diffs for the latest commit? From what I've noticed, `git diff` diffs between the raw index file and the...

While it doesn't solve the root issue, I have this workaround in my config: ```lua local rainbow = { "#CC8888", "#CCCC88", "#88CC88", "#88CCCC", "#8888CC", "#CC88CC" } require "nvim-treesitter.configs".setup { rainbow...

Additionally, if such a positional-slash exists, `self` inside the function body is highlighted as a normal argument.

I just took a look at how ignores are implemented, and yeah, it seems rather complicated to add. It appears that the ignore set is handled entirely in the lexer...

Yeah, that thing with ignore sets per rule was basically what I was going for. Guess I'll have to look into exactly how rules and states correspond. Yeah, I guess...

Currently trying to add the new forms to the meta-grammar, but adding ``` 'statement': ['ignore', 'import', 'declare', 'ignore_scoped'], 'ignore_scoped': ['_IGNORE ignore_scoped_list _LBRACE _list _RBRACE _NL' ], 'ignore_scoped_list': ['_ignore_scoped_list'], '_ignore_scoped_list': ['ignore_scoped_item',...

Also another alternative syntax is ``` %ignore /\s+/ %scoped { %unignore /\s+/ // Not sure if anonymous regexes are deduplicated, so this might not work %ignore / +/ } ```...

I think I'll go with `%scoped` plus `%unignore` if that's okay with you. Seems more consistent with the existing grammar (the usage of minus feel a bit strange, and comma...

One place where such a thing would make sense would be a with templates, such as a combinator library: ``` _sep{_s, v}: (v _s)* v _sep1{_s, v}: (v _s)+ v...