From bdc4dfd596fbec633940c7826b23f068ca2f2199 Mon Sep 17 00:00:00 2001 From: Alexey Radkov Date: Mon, 12 Jul 2021 19:07:43 +0300 Subject: [PATCH] foreign declarations may have line breaks after double-colon separator notice that record fields and regular type signatures are already fine --- syntax/haskell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/haskell.vim b/syntax/haskell.vim index 15e9d26..e762ff1 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -47,7 +47,7 @@ syn match haskellDecl "\<\(type\|data\)\>\s\+\(\\)\?" syn keyword haskellDefault default syn keyword haskellImportKeywords import qualified safe as hiding contained syn keyword haskellForeignKeywords foreign export import ccall safe unsafe interruptible capi prim contained -syn region haskellForeignImport start="\" end="\_s\+::\s" keepend +syn region haskellForeignImport start="\" end="\_s\+::\_s" keepend \ contains= \ haskellString, \ haskellOperators,