mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
feat: add prolog and problog parser and queries (#6810)
This commit is contained in:
parent
e0d6c7643d
commit
6cd4ce6cab
11 changed files with 100 additions and 0 deletions
16
queries/prolog/indents.scm
Normal file
16
queries/prolog/indents.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(directive_term) @indent.zero
|
||||
|
||||
(clause_term) @indent.zero
|
||||
|
||||
(functional_notation
|
||||
(atom)
|
||||
(open_ct) @indent.begin
|
||||
(close) @indent.end)
|
||||
|
||||
(list_notation
|
||||
(open_list) @indent.begin
|
||||
(close_list) @indent.end)
|
||||
|
||||
(curly_bracketed_notation
|
||||
(open_curly) @indent.begin
|
||||
(close_curly) @indent.end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue