From 214f7ba218223cd292fb1788ad203e5168657975 Mon Sep 17 00:00:00 2001 From: Matthew Toohey Date: Wed, 1 May 2024 14:24:13 -0700 Subject: Add koka language server and update grammar ref: https://github.com/helix-editor/helix/pull/10119 --- runtime/queries/koka/highlights.scm | 34 ---------------------------------- runtime/queries/koka/indents.scm | 1 - 2 files changed, 35 deletions(-) (limited to 'runtime') 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) -- cgit v1.2.3-70-g09d2