Dear all, For a few hours now, I've been playing around trying to make a new mode for Yi. The problem is, it breaks when I try to load a Unicode file with certain characters. For example, I've made a mode which basically only consists of the following:
myModeGen _myBinding = fundamentalMode { , modeApplies = anyExtension ["ext1"] } myModeVim :: Mode () myModeVim = myModeGen (\ch -> [char '\\', char ch]) When loading the file into fundamental mode, all's well (by changing the extention ≠ ext1), but when loading a file containing the following, it breaks with the error shown below. The file: ∷ (that's right, a single unicode character and a newline) The error: yi-linux-x86_64: lexical error around 7_; []) op yi-linux-x86_64: thread blocked indefinitely in an MVar operation Now what I don't understand is, I'm not even trying to lex, since I don't necessarily want to do syntax highlighting yet! Any pointers would be welcome. Paul -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel