Using <c-x><c-o> after "<u" in a HTML file incorrectly suggests uppercase
completions ("UL" and "BLOCKQUOTE" in my case) instead of the appropriate
lowercase completions. There are no uppercase tags in the document
(htmlcomplete.vim of 20.06.2014).
diff --git i/runtime/autoload/htmlcomplete.vim
w/runtime/autoload/htmlcomplete.vim
index 984ba8b..d89db7a 100644
--- i/runtime/autoload/htmlcomplete.vim
+++ w/runtime/autoload/htmlcomplete.vim
@@ -251,7 +251,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
let tag = split(context)[0]
" Detect if tag is uppercase to return in proper case,
" we need to make it lowercase for processing
- if tag =~ '^[A-Z]*$'
+ if tag =~# '^[A-Z]*$'
let uppercase_tag = 1
let tag = tolower(tag)
else
--
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.