kana / vim-textobj-line

Vim plugin: Text objects for the current line
http://www.vim.org/scripts/script.php?script_id=3886
178 stars 7 forks source link

Cannot Install with Vim-Plug #5

Open NoAnyLove opened 8 years ago

NoAnyLove commented 8 years ago

I tried to install vim-textobj-line with Vim-Plug, it failed with

Error detected while processing /root/.vim/plugged/vim-textobj-line/plugin/textobj/line.vim:
line   37:
E117: Unknown function: textobj#user#plugin
Press ENTER or type command to continue
letientai299 commented 8 years ago

Use this setup:

Plug 'kana/vim-textobj-user' | Plug 'kana/vim-textobj-line'

I have the same issue. Then I read the wiki page again, and found this:

Requirements:
- Vim 7.2 or later
- |textobj-user| 0.3.8 or later (vimscript#2100)

So, in order to use line.vim, you need to install vim-textobj-user.