Runtime(javascript): add new document properties to completion file

Commit: 
https://github.com/vim/vim/commit/a0fddaa2f4b7358484eb54ccdd1b7433d18a9039
Author: Jay Sitter <[email protected]>
Date:   Sun Jun 28 11:42:35 2020 -0400

    Runtime(javascript): add new document properties to completion file
    
    closes: https://github.com/vim/vim/issues/6536
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/javascriptcomplete.vim 
b/runtime/autoload/javascriptcomplete.vim
index 29b6b1625..3ec3b5049 100644
--- a/runtime/autoload/javascriptcomplete.vim
+++ b/runtime/autoload/javascriptcomplete.vim
@@ -156,8 +156,8 @@ function! javascriptcomplete#CompleteJS(findstart, base)
                                        \ 'text', 'vLink']
                let bodys = bodyprop
                " Document - document.
-               let docuprop = ['anchors', 'body', 'characterSet', 'doctype',
-                                       \ 'documentElement', 'documentURI', 
'embeds', 'fonts', 'forms',
+               let docuprop = ['anchors', 'applets', 'body', 'characterSet', 
'childNodes',
+                                       \ 'doctype', 'documentElement', 
'documentURI', 'embeds', 'fonts', 'forms',
                                        \ 'head', 'hidden', 'images', 
'implementation', 'lastStyleSheetSet',
                                        \ 'links', 'plugins', 
'preferredStyleSheetSet', 'scripts',
                                        \ 'scrollingElement', 
'selectedStyleSheetSet', 'styleSheetSets',
@@ -171,7 +171,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
                                        \ 'createEvent', 'createExpression', 
'createNSResolver',
                                        \ 'createNodeIterator', 
'createProcessingInstruction', 'createRange',
                                        \ 'createTextNode', 'createTouchList', 
'createTreeWalker',
-                                       \ 'enableStyleSheetsForSet', 
'evaluate', 'focus', 'getElementById',
+                                       \ 'enableStyleSheetsForSet', 
'evaluate', 'focus', 
                                        \ 'getElementById', 
'getElementsByClassName', 'getElementsByName',
                                        \ 'getElementsByTagName', 
'getElementsByTagNameNS',
                                        \ 'hasStorageAccess', 'importNode', 
'onClick', 'onDblClick',

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qXoMA-00AwRd-RG%40256bit.org.

Raspunde prin e-mail lui