Giter VIP home page Giter VIP logo

Comments (8)

Shougo avatar Shougo commented on September 27, 2024

Please update neocomplcache and write this in snippets/php.snippets.

include snippets/php/b.snippet
include snippets/php/c.snippet
include snippets/php/~.snippet

from neocomplcache.vim.

Devric avatar Devric commented on September 27, 2024

Thanks Shougo, but i was hoping a way to scan the whole folder not just include the individual snippet files, because i have alot of individual snippet(s), for php itself i have like 70 which is just that snippets/php.snippets file
and the rest such as codeigniter i have 240, wordpress 170, prestashop 80, cakephp 130......... and a lot more
they are named such as ci_xxx.snippet, wp_xxx.snippet under the snippets/php/xxx.snippet.
so is there a way to tell ncc to cache them for popup?

from neocomplcache.vim.

Shougo avatar Shougo commented on September 27, 2024

Please write this.

include snippets/php/*.snippet

so is there a way to tell ncc to cache them for popup?

Please tell me concreate behavior.
There is not such a structure for the moment.

from neocomplcache.vim.

Devric avatar Devric commented on September 27, 2024

Currently the pop up only shows the snippet in php.snippet but not the subfolders under php/*.snippet,

from neocomplcache.vim.

Shougo avatar Shougo commented on September 27, 2024

Probably this works.

include snippets/php/*/.snippet

from neocomplcache.vim.

Devric avatar Devric commented on September 27, 2024

Thanks for the help shougo, it isnt working but, is there a way to manualy load it?
eg: im editing a .php file, than i want to just cache the wordpress snippet folder, any key mapping or function that let me include the folder just one time? eg: :Call snippet wp

from neocomplcache.vim.

Shougo avatar Shougo commented on September 27, 2024

I think you should use compound filetype.
Example, php.wordpress filetype.
In neocomplcache, it loads php and wordpress snippet file.

from neocomplcache.vim.

Devric avatar Devric commented on September 27, 2024

ya, i did that, no matter what i do, the individual=== snippets/php/*.snippet ===files just dosent get pop up, only pop up the snippet inside the === snippets/php.snippets === file, which would take too long to combine all these snippet's' together into that one file >_<

from neocomplcache.vim.

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.