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

can't use more than one annotation type #4

@sidorares

Description

@sidorares

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions