mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
feat(fsharp): add parser and queries (#7166)
This commit is contained in:
parent
1f2059f293
commit
707313b80a
5 changed files with 435 additions and 0 deletions
11
queries/fsharp/injections.scm
Normal file
11
queries/fsharp/injections.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
([
|
||||
(line_comment)
|
||||
(block_comment_content)
|
||||
] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((line_comment) @injection.content
|
||||
(#lua-match? @injection.content "^///")
|
||||
(#offset! @injection.content 0 3 0 0)
|
||||
(#set! injection.language "xml")
|
||||
(#set! injection.combined))
|
||||
Loading…
Add table
Add a link
Reference in a new issue