cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
1.01k stars 46 forks source link

Lexima seemingly breaking "set nocompatible" #130

Closed DGotshalk closed 2 years ago

DGotshalk commented 2 years ago

I looked around to see if there was a setting I was missing that would stop this, but I could not find one. OS: Fedora Linux 35 (Thirty Five) Vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 09 2022 00:00:00)

Issue: Currently when I have lexima installed activated as a vim-plug, when in insert mode the arrow keys will output as Up Arrow: A Down Arrow: B Right Arrow: C Left Arrow: D As well as the middle click pasting having strange behavior.

How I determined it was lexima: I moved my vimrc off to a new file, made a new vimrc with:

set nocompatible call plug#begin('~/.vim/plugged') Plug 'cohama/lexima.vim' call plug#end()

And observed the above behavior. After commenting out the lexima line, vim behaves normally again.

cohama commented 2 years ago

I could not repro in latest Vim (8.2.4583).

Please report patch version. (via :version) Probably related to https://github.com/vim/vim/issues/9903. If so, updating to the latest version may solve this issue.

DGotshalk commented 2 years ago

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 09 2022 00:00:00) Included patches: 1-4529

This is the version. It may be due to some update actually as my version is ahead of yours it seems.

DGotshalk commented 2 years ago

And downgrading my vim version to: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 06 2021 00:00:00) Included patches: 1-3404 makes the problem go away.

Closing this issue as this seems to due to an update to vim. Newest version of vim on my repos is not the version that has the fix. Thanks!

cohama commented 2 years ago

Updating latest vim may solve this problem because it was introduced in 8.2.4504 and fixed from 8.2.4551.