comparison runtime/autoload/xmlcomplete.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents c458ff35497e
children
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
197 let attr = matchstr(context, '.*\s\zs.*') 197 let attr = matchstr(context, '.*\s\zs.*')
198 " Possible situations where any prediction would be difficult: 198 " Possible situations where any prediction would be difficult:
199 " 1. Events attributes 199 " 1. Events attributes
200 if context =~ '\s' 200 if context =~ '\s'
201 201
202 " If attr contains =\s*[\"'] we catched value of attribute 202 " If attr contains =\s*[\"'] we catch value of attribute
203 if attr =~ "=\s*[\"']" || attr =~ "=\s*$" 203 if attr =~ "=\s*[\"']" || attr =~ "=\s*$"
204 " Let do attribute specific completion 204 " Let do attribute specific completion
205 let attrname = matchstr(attr, '.*\ze\s*=') 205 let attrname = matchstr(attr, '.*\ze\s*=')
206 let entered_value = matchstr(attr, ".*=\\s*[\"']\\?\\zs.*") 206 let entered_value = matchstr(attr, ".*=\\s*[\"']\\?\\zs.*")
207 207