Skip to content

Unexpected behaviour on Neovim with ALE #154

@ottijp

Description

@ottijp

I found a unexpected behaviour on Neovim when using this plugin with ALE.
I'm not sure which causes this problem.

I would like to know how to fix this problem or if there is a workaround.

Problem

When I insert [] on each line in visual mode, the expected result is as follows:

[] hoge
[] piyo

However, I got the following result:

[] hoge
pi hoyo
lexima-reproduction.mov

This only occurs when I insert [] (with an additional space after the closing square bracket), but not when I insert [].

Reproduction

Before starting NeoVim:

git clone https://github.com/cohama/lexima.vim
git clone https://github.com/dense-analysis/ale

My init.vim:

set rtp+=lexima.vim
set rtp+=ale

Start NeoVim:

nvim -u init.vim

And type the following:

ihoge<CR>piyo<ESC>k^<C-v>jI[<Right> <ESC>

Environment

  • OS: macOS 13.5
  • NeoVim: 0.10.0
  • ALE: 48d73c87c3c321e6298755abc5449267192d07e6(Fri Jul 12 03:40:38 2024 +0300)
  • lexima: 5513d68(Wed Dec 20 13:10:40 2023 +0900)
$ sw_vers
ProductName:            macOS
ProductVersion:         13.5
BuildVersion:           22G74

$ nvim --version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info

The problem occurs only in combination of Neovim and ALE.

with ALE problem occurs
Vim false false
Vim true false
NeoVim false false
NeoVim true true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions