Christian Brabandt wrote:
> here we go. I attach a test for the digraph feature.
Thanks.
We can put the check for features at the toplevel, thus instead of:
func! Test_digraphs()
if !has("digraphs") || !has("multi_byte")
return
endif
Do:
if !has("digraphs") || !has("multi_byte")
finish
endif
func! Test_digraphs()
That skips the rest of the file.
Hmm, it seems that for me the test fails in every check.
Encoding problem?
function RunTheTest[9]..Test_digraphs line 5: Expected 'â' but got '∞'
function RunTheTest[9]..Test_digraphs line 10: Expected 'þ' but got 'þ'
Somehow there was a latin1 to utf-8 conversion. I managed to fix it.
Ah, should have read your second message first, it has the corrected
file.
--
ARTHUR: Shut up! Will you shut up!
DENNIS: Ah, now we see the violence inherent in the system.
ARTHUR: Shut up!
DENNIS: Oh! Come and see the violence inherent in the system!
HELP! HELP! I'm being repressed!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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].
For more options, visit https://groups.google.com/d/optout.