vim-easy-align icon indicating copy to clipboard operation
vim-easy-align copied to clipboard

When intero-neovim is installed ga doesn't wait for a motion.

Open juliapath opened this issue 8 years ago • 3 comments

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 isssue to intero-neovim here.

More information:

Using some different keybinding than ga doesn't help either.

Intero-neovim mainly does some communication with an Intero process over the neovim terminal to retrieve information like types of functions place of definition or evaluating code for haskell development.

juliapath avatar Mar 09 '17 15:03 juliapath

:verbose nmap ga ?

junegunn avatar Mar 12 '17 16:03 junegunn

@junegunn

n  ga            <Plug>(EasyAlign)
        Last set from ~/.config/nvim/init.vim

juliapath avatar Mar 15 '17 02:03 juliapath

Well, then I have no clue why it doesn't work.

junegunn avatar Mar 20 '17 17:03 junegunn