This repository was archived by the owner on Nov 22, 2019. It is now read-only.

Description
Not sure if it's vim or nb client issue.
Every time I try to use new anno type I get "E155 Unknown sign: 0" error in vim
example:
vim> vim.editFile('test.js', function(buff) { global.buff = buff })
vim> buff.addAnno({name: 'test', glyph: '▶', fg: 99879, bg:11111, id: 'test6'}, [16, 5])
sending command 1 defineAnnoType 1 "test" "" "▶" 99879 11111
sending command 1 addAnno 1 1 16/5
vim> buff.addAnno({name: 'test', glyph: '▶', fg: 99879, bg:11111, id: 'test7'}, [20, 5])
sending command 1 defineAnnoType 1 "test" "" "▶" 99879 11111
sending command 1 addAnno 1 1 16/5
- second one fails
I'm using simple vim repl:
var VimServer = require("vim-netbeans").VimServer;
var repl = require('repl');
nbServer = new VimServer({debug: true});
nbServer.on("clientAuthed", function(vim) {
var c = repl.start({
prompt: 'vim> '
}).context;
c.vim = vim;
});
nbServer.listen();