GithubHelp home page GithubHelp logo

Comments (3)

ervandew avatar ervandew commented on August 26, 2024

Is it just some ruby files where you notice this, or all of them?
Does the problem occur with other file types or just ruby?
Are there other plugins mapped to the tab key (:verbose imap )?

If you start vim with the minimal settings does the problem still occur?

$ vim -u NONE -U NONE --cmd "set nocp | sy on | filetype plugin indent on | ru plugin/supertab.vim"

Note: if supertab is in a pathogen or similar directory, then you'll need to add a | rtp+=/path/to/supertab/dir/ before the | ru plugin/supertab.vim part in the command above.

from supertab.

barunio avatar barunio commented on August 26, 2024

I followed the route you suggested and found there was no problem with minimal settings, and then I eventually managed to figure out the root of the problem --

let ruby_fold=1
syntax on

If ruby_fold is not enabled things work fine, or if ruby_fold is enabled and syntax highlighting is off things work fine. This explains why the problem occurs sporadically -- in the same file, tab completion is very slow in one place but fast in another.

I suppose the solution for now will have to be to turn ruby_fold off and try to find an alternative.

from supertab.

ervandew avatar ervandew commented on August 26, 2024

Thanks for posting an update, it's good to know the cause should other users encounter the same issue.

I'm going to go ahead and close this ticket though since inefficient syntax files are outside the scope of supertab ;).

from supertab.

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.