Code Monkey home page Code Monkey logo

Comments (4)

c0r73x avatar c0r73x commented on June 16, 2024

Yeah something is strange, i tested some things now and if I try to add for example "local" variables to the g:neotags#c#order it dosen't pick it up. The tag file from neotags still don't output local variables. And if i try to force if with running a tag file in the source folder i get a strange error "Neotags: No lang/kind".

I will investigate some more, or maybe @roflcopter4 have an answer for this strangeness?

from neotags.nvim.

roflcopter4 avatar roflcopter4 commented on June 16, 2024

I have to admit that I haven't even looked at the code in a few months, I've been writing what is basically a version of this plugin entirely in C (why? because I'm a masochist). Obvious plug here, but if neotags is semi-broken at the moment it might be worth looking at. Right now it is faster and does more than neotags (like actually parsing headers for relevant tags, reading .json files, running things in parallel, and directly talking to neovim without an api in between). Anyway, if you're interested (and don't mind the occasional segfault) it's here. ENDPLUG

Otherwise I suppose I really ought to take a look at this problem. I can't really imagine why default highlighting groups would be getting clobbered.

As to the customizing problems, I'll take a look too. The way the code worked required ctags to be run with particular arguments and was picky about the order. Adding to the g:neotags#c#order variable won't make the plugin actually run ctags with the arguments to output those tags, and if you run ctags manually you have to be certain that you got the arguments correct (which is why the code couldn't find the language or kind field in your case).

from neotags.nvim.

roflcopter4 avatar roflcopter4 commented on June 16, 2024

I think I have at least partially solved this problem (by throwing away 75% of the code and rewriting it...). Since the rewrite doesn't implement everything yet (C code is 100% broken, some features are ignored, gzip only, etc) I am keeping it in the dev branch, but everything seems to work as it should. If anyone wants to test it that would be helpful.

from neotags.nvim.

darosior avatar darosior commented on June 16, 2024

FWIW, and if you land here googling the "Neotags: No lang/kind" : the dev branch solved it for me. If you are using Plug :

Plug 'c0r73x/neotags.nvim', { 'branch': 'dev', 'do': ':UpdateRemotePlugins' }

Thank you @roflcopter4 !

from neotags.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.