FS#36693 - [vim] 7.4 very slow with syntax highlighting on
Attached to Project:
Arch Linux
Opened by Dariusz Dwornikowski (tdi) - Tuesday, 27 August 2013, 11:05 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 13 August 2018, 13:55 GMT
Opened by Dariusz Dwornikowski (tdi) - Tuesday, 27 August 2013, 11:05 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 13 August 2018, 13:55 GMT
|
Details
Description:
Since the 7.4 upgrade I have been experiencing a lot of performance problems. First of all VIM has become very slow when syntax highlighting is on. I attach exemplary file seeds.rb in which navigating with hjkl causes vim to be almost unresponsive. I tested this with all the plugins dispabled, plain arch vim with my .vimrc attached. VIM is generally slow, especially in ruby erb files. I do a lot of python and latex, there everything seems normal. I have some segfaults too when opening some of erb files. Additional info: * package version(s) gvim-7.4.0-2 Steps to reproduce: Open and navigate down. |
This task depends upon
Closed by Levente Polyak (anthraxx)
Monday, 13 August 2018, 13:55 GMT
Reason for closing: No response
Monday, 13 August 2018, 13:55 GMT
Reason for closing: No response
what you can do for now as a workaround is add
set regexpengine=1
somewhere in your vimrc
some archives:
- https://groups.google.com/forum/#!msg/vim_dev/2ocXuJUe8IE
- https://groups.google.com/forum/#!topic/vim_dev/epm6TtHDQeY
- forwarded from this ticket: https://groups.google.com/forum/#!topic/vim_dev/2nDTs4AYPA8
if the poster could test and see if it is improved over time ?
It happens with :set regexpengine=1 and :set regexpengine=2
I got the attached vimrc down to a minimal test case:
```
syntax on
set cursorline
set cursorcolumn
```