Loading ...
Sorry, an error occurred while loading the content.

61549Re: fold makes auto-complete slow

Expand Messages
  • Christian Brabandt
    May 31, 2011
      Hi Ben!

      On Di, 31 Mai 2011, Ben Fritz wrote:

      > On May 30, 3:16 am, Xavier Wang <weasley...@...> wrote:
      > > hi all,
      > >
      > > In a very long time I endure the slow auto-complete popup menu, and I don't
      > > know why. sometime in a small file (1000+ loc) the popup menu also very
      > > slow.
      > >
      > > I found maybe it coursed by foldmethod settings. when set fdm=syntax and
      > > using fold in syn region command, the popup will become slower and slower.
      > >
      > > has any other notice this behavior? Is that the point of the issue?
      > >
      > Lots of people have noticed it. It may even be in the FAQ (but I'm not
      > sure and don't care to check at the moment). The problem is syntax
      > folding (and syntax in general) is slow. Temporarily setting fdm to
      > manual while in insert mode mostly fixes the problem.
      > See http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text
      > for how.

      I don't think this is in the faq right now. But if you like to
      contribute, I'd appreciate patches ;)


      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
    • Show all 3 messages in this topic