Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Ruby file #36

Open
paddor opened this issue May 18, 2022 · 1 comment
Open

Not working in Ruby file #36

paddor opened this issue May 18, 2022 · 1 comment

Comments

@paddor
Copy link

paddor commented May 18, 2022

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
Copy link
Member

alerque commented May 18, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants