Skip to content

Commit

Permalink
fix: update lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBrevig committed Oct 24, 2023
1 parent 92e927a commit dd5c39f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2755,7 +2755,7 @@ indent = { tab-width = 2, unit = " " }

[[grammar]]
name = "typst"
source = { git = "https://github.com/uben0/tree-sitter-typst", rev = "7a2bb249fc555dbcba7d440709927614b8802969" }
source = { git = "https://github.com/uben0/tree-sitter-typst", rev = "e35aa22395fdde82bbc4b5700c324ce346dfc9e5" }

[[language]]
name = "nunjucks"
Expand Down
12 changes: 5 additions & 7 deletions runtime/queries/typst/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@
item: (builtin) @function.builtin)

; MARKUP
(item "item" @operator)
(term ["item" ":"] @operator)
(heading) @markup.heading
(item "-" @markup.list)
(term ["/" ":"] @markup.list)
(heading ["=" "==" "===" "====" "====="] @markup.heading.marker) @markup.heading
(url) @tag
(emph "_" @operator) @markup.italic
(strong "*" @operator) @markup.bold
(item) @markup.list
(term) @markup.list
(emph) @markup.italic
(strong) @markup.bold
(symbol) @constant.character
(shorthand) @constant.builtin
(quote) @markup.quote
Expand Down

0 comments on commit dd5c39f

Please sign in to comment.