wincent / scalpel

🔪 Fast within-file word replacement for Vim
MIT License
118 stars 4 forks source link

Unknown function: getcurpos #4

Closed Dhq closed 8 years ago

Dhq commented 8 years ago

I just tried installing the plugin for gvim on Windows (10), and get this error on every cursor move:

*Error detected while processing CursorMoved Auto commands for "": E117: Unknown function: getcurpos**

Installed Scalpel through vim-plug and using vim 7.4

wincent commented 8 years ago

What exact version of Vim is it? (ie. what is the output of :version in Vim?)

The getcurpos function was added in Vim commit 6f6c0f8085a5b0855f9dce8378086fd5e06a219b (tag: v7.4.313), as far as I know. If you can confirm that's your issue I'll try to find a backwards compatible solution.

Dhq commented 8 years ago

@wincent Sorry for late reply. Since I had this issue I have re-installed VIM because of another issue, and I no longer have this problem, most likely due to having a newer version now.