Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intero-vim causes vim-easy-align ga to take no motion as an argument. #34

Open
juliapath opened this issue Mar 9, 2017 · 1 comment

Comments

@juliapath
Copy link

How to reproduce:

  1. Starting with a clean installation + vim-plug.

  2. .config/nvim/init.vim:

    call plug#begin('~/.local/share/nvim/plugged')
    Plug 'junegunn/vim-easy-align'
    Plug 'parsonsmatt/intero-neovim'
    call plug#end()
    
    nmap ga <Plug>(EasyAlign)
    
  3. :PlugInstall

  4. Open a file with a haskell extension. E.g: nvim test.hs

  5. In normal mode enter ga

Expected result:

Nothing happens so far, because the command is still missing a motion. Like gaip.

Actual result:

Immediately after ga easy align is activated and a motion following it would be interpreted as commands for easy align.

Version:

NVIM 0.1.7 on ArchLinux

I reported the issue to vim-easy-align here.

@parsonsmatt
Copy link
Owner

Well, that's bizarre. I'll try to investigate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants