runtime(haskell): Add syntax test

Commit: 
https://github.com/vim/vim/commit/ea14bb7df9313529981e0584cb199f0274a2cdea
Author: Doug Kearns <[email protected]>
Date:   Fri Nov 21 18:22:37 2025 +0000

    runtime(haskell): Add syntax test
    
    Add a test for issue https://github.com/vim/vim/issues/18776 (allow spaces 
in backticked operators).
    
    closes: #18783
    
    Signed-off-by: Doug Kearns <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/testdir/dumps/haskell_00.dump 
b/runtime/syntax/testdir/dumps/haskell_00.dump
new file mode 100644
index 000000000..133f52f50
--- /dev/null
+++ b/runtime/syntax/testdir/dumps/haskell_00.dump
@@ -0,0 +1,20 @@
+>-+0#0000e05#ffffff0@1| |I|s@1|u|e| |#|1|8|7@1|6| |(|a|l@1|o|w| |s|p|a|c|e|s| 
|i|n| |b|a|c|k|t|i|c|k|e|d| |o|p|e|r|a|t|o|r|s|)| +0#0000000&@20
+@75
+|m|a|i|n| |=+0#af5f00255&| +0#0000000&|p|r|i|n|t| |(|9+0#e000002&| 
+0#0000000&|`+0#af5f00255&| |d|i|v| |`| +0#0000000&|4+0#e000002&|)+0#0000000&| 
@48
+@75
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+| +0#0000000&@56|1|,|1| @10|A|l@1| 
diff --git a/runtime/syntax/testdir/input/haskell.hs 
b/runtime/syntax/testdir/input/haskell.hs
new file mode 100644
index 000000000..c8607920e
--- /dev/null
+++ b/runtime/syntax/testdir/input/haskell.hs
@@ -0,0 +1,4 @@
+-- Issue #18776 (allow spaces in backticked operators)
+
+main = print (9 ` div ` 4)
+

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vMVta-00EYwP-8U%40256bit.org.

Raspunde prin e-mail lui