Hi, I'm developing a C-like language, called C2 (c2lang.org). Now the compiler is roughly working, I am working on a vim plugin called c2tags. The 'tags' file is generated by a compiler plugin, so is completely correct (well it should be) and all symbol references are indexed.
What I'm trying to do: + create basic plugin that call c2tags with current file, line, col and symbol (DONE) + have c2tags open data file and do lookup. Currently it prints the resulting file, line and col to stdout. - have the vim plugin read the result somehow - have the vim plugin jump to the correct location and push it on the tags stack The first 2 parts are working, but I have trouble finding a way to return data from an external tool back into the plugin. Ctags seems to be reading the data file itself (from what I understand from reading the code). For the 2nd part, I have a way to jump to line, col, but haven't found a good way to jump to another file and to push it to the location stack (so that ctrl-t pops it again) Any hints would be very welcome, Cheers, Bas -- -- 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.
