D
D
Denis2015-06-11 18:41:16
vim
Denis, 2015-06-11 18:41:16

What causes brakes when you are near quotes?

Brakes appear when you are near quotation marks, inside a word marked with quotation marks (no matter how funny it is - especially near double ones) - removed all plugins, dropped the theme too - it might become faster, but the lag is still present.
The brakes are that there is a delay when moving through the text (the cursor reacts to moving with a delay), and other commands.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Masterov, 2015-06-17
@AlexMasterov

In your case, the problem is most likely in the distributive matchparen plugin. Try setting it up (:h paren) or turning it off:

" Avoid loading plugin/matchparen.vim
let g:loaded_matchparen = 1

In case of customization, try also explicitly setting the value of regexpengine :
" Regexp engine (0=auto, 1=old, 2=NFA)
if exists('&regexpengine')
    set regexpengine=1
endif

For another reason, see what is called by events below:
verb au CursorMoved,CursorMovedI
verb au TextChanged,TextChangedI

D
Denis, 2015-06-17
@sch_den

Thanks for the answer, I did not wait, I solved the problem by completely demolishing everything and reinstalling it. If it comes up again, I'll try.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question