michaeljsmith / vim-indent-object

Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
http://www.vim.org/scripts/script.php?script_id=3037
MIT License
735 stars 61 forks source link

Getting error when using operator with text objects #24

Open rbhanot4739 opened 4 years ago

rbhanot4739 commented 4 years ago

Nvim: 0.4.3

I am getting the below error when I do something like dai or cai inside any function or class.

Error detected while processing function <SNR>45_HandleTextObjectMapping[1]..<SNR>45_TextObject:
line  180:
E447: Can't find file "class" in path
Error detected while processing function <SNR>45_HandleTextObjectMapping[1]..<SNR>45_TextObject:
line  180:
E447: Can't find file "def" in path
urxvtcd commented 1 year ago

I feel like I'm commenting under every issue in this repo, but I don't see this behavior in my fork.