Alexandre A. Muller

Results 24 comments of Alexandre A. Muller

Ops. I forgot to push the `arguments` change. I was testing with the local version :P ```lua parser_config.make = { install_info = { url = "~git/tree-sitter-make", files = { "src/parser.c",...

There is a function called `nvim__screenshot` that takes the a shell screenshot, it seems to work pretty well.

@David-Else The output of `nvim__screenshot` is a text file with the [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code), while the output of `Print Screen` is *usually* an image file produced by `scrot` or something...

@David-Else The CSS from HTML should cascade to SVG according to [#StyleSheetsInHTMLDocuments](https://www.w3.org/TR/SVG/styling.html#StyleSheetsInHTMLDocuments). I haven't tried thought. After writing a template, I realized that working with multi line text in svg...

Have you consider implementing the preproc directives as `extras`? They can be legally used in uncountable ways. Another example that ts-c fails to parse: ```c const char foo[] { #include...

@maxbrunsfeld are you with the macros (and attributes?) being described as `extra`? I can make a PR if approve the idea. Another option is to implement the directives as a...

I think the issue is in `package.json` on `tree-sitter-cpp`. The `node_modules/tree-sitter-c/queries/highlights.scm` should be the path to the highlight query of tree-sitter-c grammar.

> I think it'd be better to do this using language injection, or some mechanism that can layer additional syntax highlighting on top of the C syntax tree. I go...

Also, the `error: index not within bounds` could provide more information. Repro code fragment: ``` signal foo : std_logic_vector(7 downto 0); --- for v_i in 0 to 8 loop foo...