diff options
author | Matthew Toohey | 2024-05-01 21:24:13 +0000 |
---|---|---|
committer | JJ | 2024-05-01 23:54:41 +0000 |
commit | 214f7ba218223cd292fb1788ad203e5168657975 (patch) | |
tree | b5f277e45bd83bef80810b91f0b9e42899ad447b /runtime/queries/koka | |
parent | bbc1a3cc99644e5be1030b5ed8d51928c821b866 (diff) |
Add koka language server and update grammar
ref: https://github.com/helix-editor/helix/pull/10119
Diffstat (limited to 'runtime/queries/koka')
-rw-r--r-- | runtime/queries/koka/highlights.scm | 34 | ||||
-rw-r--r-- | runtime/queries/koka/indents.scm | 1 |
2 files changed, 0 insertions, 35 deletions
diff --git a/runtime/queries/koka/highlights.scm b/runtime/queries/koka/highlights.scm index fead9838..1ef40927 100644 --- a/runtime/queries/koka/highlights.scm +++ b/runtime/queries/koka/highlights.scm @@ -12,18 +12,6 @@ ]))) ["(" (block) (fnexpr)]) -(ntlappexpr - function: (ntlappexpr - (atom - (qidentifier - [ - (qvarid) @function - (qidop) @function - (identifier - [(varid) (idop)] @function) - ]))) - ["(" (block) (fnexpr)]) - (appexpr field: (atom (qidentifier @@ -46,28 +34,6 @@ ]))) "[") -(ntlappexpr - field: (atom - (qidentifier - [ - (qvarid) @function - (qidop) @function - (identifier - [(varid) (idop)] @function) - ]))) - -(ntlappexpr - (ntlappexpr - field: (atom - (qidentifier - [ - (qvarid) @variable - (qidop) @variable - (identifier - [(varid) (idop)] @variable) - ]))) - "[") - [ "initially" "finally" diff --git a/runtime/queries/koka/indents.scm b/runtime/queries/koka/indents.scm index 0a47bcbb..6045373d 100644 --- a/runtime/queries/koka/indents.scm +++ b/runtime/queries/koka/indents.scm @@ -1,6 +1,5 @@ [ (appexpr ["[" "("]) ; Applications. - (ntlappexpr ["[" "("]) (atom ["[" "("]) ; Lists and tuples. (program (moduledecl "{")) ; Braced module declarations. (funbody) |