-
Notifications
You must be signed in to change notification settings - Fork 2
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
Weird behaviour when using Latex-suite #25
Comments
vim-latex requires a special attention. Normally lh-brackets is written to be compatible with vim-latex. Could you described more precisely what you do and what you observe. For instance. When vim-latex is installed, if in insert mode I type I can check that the insertion is given to vim-latex with: :imap ) that prints
instead of the following when vim-latex isn't loaded.
Also, vim-latex (through :echo strtrans(IMAP_list(')')) displays
This is what you should observe. |
I observe the problem with the latest version on vim-latex. I'll try to investigate what is wrong. It's not necessarily on lh-brackets side. |
Alright at least, if you can reproduce it, is not related to wrong configuration on my side. |
It looks like that somewhere someone has registered :echo strtrans(IMAP_list('()')) In the previous versions of vim-latex, this association didn't exist. It's done in Ideally they should detect whether the closing character is after the cursor to move over it instead of triggering an expansion. This would be a complex change, I doubt they would do it. Also, other conflicts would appear on I see two paths from here:
|
My mistake. The definitions have been here for a long time, but they did not cause any conflict. |
I solved it after spotting the location of it. Thanks for walking me through this. |
You're welcome. |
Not sure if it is my fault or a general thing but when I do not edit Latex files the plugin seems to be working normally. When I edit Latex files (with latex-suite) the closing bracket appears correctly with the placeholder but if I type the closing bracket, another placeholder appears with a second closing bracket. When I hit only the character before the cursor gets deleted.
Any help will be appreciated,
Thanks.
The text was updated successfully, but these errors were encountered: