hi!
i think i have encountered a bug in vim's syntax plugin.
the behaviour seems to have something to do with matching of curly
braces or quotes.
$ cat a.yml
- name: make sure authorized_keys are correct
authorized_key: user=root key="{{ a-ssh }}"
authorized_key: user=root key="{{ b-ssh }}"
authorized_key: user=root state=absent
key="fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
if i open this file with vim, change to edit mode, place the cursor at
the closing double quote in the b-ssh line and press backspace, vim
freezes for some time (maybe 30 seconds) using 100% cpu and returns to
life eventually. the duration of the freeze seems to be related to how
long the "ffffffffff..." line is. :syntax off removes the problem.
not sure how my thunderbird will format this message, but just to make
sure, there should not be a newline before the key="fffff..." line.
thank you :)
--
Armin Walland, CEO
Sourcy Software & Services GmbH
Feldgasse 97, 3400 Kierling, Austria
W: https://sourcy.io
E: a.wall...@sourcy.io
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.