GithubHelp home page GithubHelp logo

Adding new source completion? about coq_nvim HOT 9 CLOSED

ms-jpq avatar ms-jpq commented on May 18, 2024 3
Adding new source completion?

from coq_nvim.

Comments (9)

Mte90 avatar Mte90 commented on May 18, 2024 2

well at 3 am is hard for everyone but here is 12 am so my thoughts are not so tired 😂

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024 1

I do not have third party sources for now, I need to think deeper about how to make everything work together before I can add something like that.

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024 1

solution here #258

will code it in the next week

from coq_nvim.

Shougo avatar Shougo commented on May 18, 2024

kristijanhusak/orgmode.nvim has the source for nvim-compe.
But for coq_nvim does not.

from coq_nvim.

Mte90 avatar Mte90 commented on May 18, 2024

As you are thinking of it I want to share an idea.

I did for deoplete a plugin that it's here https://github.com/Mte90/deoplete-wp-hooks

Basically uses 2 json as sources but the autocomplete is executed when the cursor is inside a function for a specific parameter like add_action('autocompleteherefromthejson.

Now after moving to compe and now coq I don't have anymore something similar but for WordPress development is very useful.

As coq is very fast, I was thinking that maybe a python file (that read the json) or a json itself with instructions how to handle those "sentences" can be a way to create something that doesn't require any code.

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024

I havn't begun thinking about it haha,

still got a few things like custom snippets and what not before I worry about this.

and since its like 3 am right now my brain is basically -200 :D


also my 3AM brain thinks https://www.youtube.com/watch?v=Dz8cpq2PjlQ is a good song,

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024

honestly thought, i might try and see how hard it would be to write an LSP lmao, since that technically is a source...

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024

@MadPocong

how do I test out orgmode?

:echom OrgmodeOmni(0, 'string') gives back [], what are some of the special string i need in my buffer to send back results?

from coq_nvim.

ms-jpq avatar ms-jpq commented on May 18, 2024

https://github.com/ms-jpq/coq_nvim/blob/coq/docs/CUSTOM_SOURCES.md

done,

its even faster than just using vimtex, orgmode, etc, because coq transparently adds a layer of sqlite cache

from coq_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.