Skip to content

add new highlights according to new tree-sitter implementation #1145

Merged
dzhou121 merged 5 commits intolapce:masterfrom
ghishadow:syntax_hightlighting_update
Sep 12, 2022
Merged

add new highlights according to new tree-sitter implementation #1145
dzhou121 merged 5 commits intolapce:masterfrom
ghishadow:syntax_hightlighting_update

Conversation

@ghishadow
Copy link
Copy Markdown
Contributor

@ghishadow ghishadow commented Sep 11, 2022

fixes C, CPP, Typescript, Javascript, Zig, Bash syntax highlighting #991 #1080

Test

  • C

image

  • CPP

image

  • Header Files

image

  • Typescript

image

  • Javascript

image

  • Zig

image

  • Bash

image

  • CSS

image

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
@MinusGix MinusGix added the A-syntax Area: syntax highlighting label Sep 12, 2022
@ghishadow ghishadow marked this pull request as ready for review September 12, 2022 09:38
@ghishadow ghishadow changed the title add highlights and injection queries add new highlights according to new tree-sitter implementation Sep 12, 2022
@panekj
Copy link
Copy Markdown
Collaborator

panekj commented Sep 12, 2022

Can you include licence and source for each query?

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
@ghishadow
Copy link
Copy Markdown
Contributor Author

Can you include licence and source for each query?

done

@dzhou121 dzhou121 merged commit a0b735d into lapce:master Sep 12, 2022
@Stanlyhalo
Copy link
Copy Markdown

Will there be any sort of intellisense so it can auto-complete stuff? Because at the current state, I compiled it all and it seems to not have intellisense like it does for rust.

@ghishadow
Copy link
Copy Markdown
Contributor Author

@Stanlyhalo first thing don't comment on merged pr or closed issue, for intellisense you need add make plugin like https://github.com/lapce/lapce-rust for your preferred language (if it has lsp server), there is template here https://github.com/lapce-community/lapce-volt-template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-syntax Area: syntax highlighting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants