preservim / vim-textobj-quote

Use ‘curly’ quote characters in Vim
Other
123 stars 6 forks source link

Not working in Ruby file #36

Open paddor opened 2 years ago

paddor commented 2 years ago

Nothing happens when I viq or viQ inside a quoted string. vim-textobj-user and vim-textobj-quote are installed. I'm using NeoVim v0.6.1.

My config:

Plug 'kana/vim-textobj-user'
Plug 'preservim/vim-textobj-quote'
" ...

augroup textobj_quote
  autocmd!
  autocmd FileType ruby call textobj#quote#init({'educate': 0})
augroup END
alerque commented 2 years ago

Does it work in other file formats? Does it work in the ruby file if you unset the filetype or set it to something unrelated (e.g. :set ft=text)? Do you have other plugins relating to text objects?