rbonvall / vim-textobj-latex

Vim text objects for LaTeX code
http://www.vim.org/scripts/script.php?script_id=4506
36 stars 8 forks source link

Compatibility with other quotes plugins #2

Open Konfekt opened 10 years ago

Konfekt commented 10 years ago

Great plugin. One question: How does the "a/iq" movement it interact with the other quote textobject plugins such as

https://github.com/beloglazov/vim-textobj-quotes

or

https://github.com/reedes/vim-textobj-quote

Will yours override the other ones when editing a TeX file?

rbonvall commented 10 years ago

Hi EPNGH, I haven't tried those plugins. I'll take a look at them to see what happens.

From a first glance, LaTeX text objects should take preference over beloglazov/vim-textobj-quotes, since matching quote pairs are not used in LaTeX.

reedes/vim-textobj-quote, on the other hand, should not be shadowed. I myself use « and » in my LaTeX documents.