Skip to content

Commit a0fddaa

Browse files
jsitchrisbra
authored andcommitted
Runtime(javascript): add new document properties to completion file
closes: #6536 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 5e6e404 commit a0fddaa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

runtime/autoload/javascriptcomplete.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ function! javascriptcomplete#CompleteJS(findstart, base)
156156
\ 'text', 'vLink']
157157
let bodys = bodyprop
158158
" Document - document.
159-
let docuprop = ['anchors', 'body', 'characterSet', 'doctype',
160-
\ 'documentElement', 'documentURI', 'embeds', 'fonts', 'forms',
159+
let docuprop = ['anchors', 'applets', 'body', 'characterSet', 'childNodes',
160+
\ 'doctype', 'documentElement', 'documentURI', 'embeds', 'fonts', 'forms',
161161
\ 'head', 'hidden', 'images', 'implementation', 'lastStyleSheetSet',
162162
\ 'links', 'plugins', 'preferredStyleSheetSet', 'scripts',
163163
\ 'scrollingElement', 'selectedStyleSheetSet', 'styleSheetSets',
@@ -171,7 +171,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
171171
\ 'createEvent', 'createExpression', 'createNSResolver',
172172
\ 'createNodeIterator', 'createProcessingInstruction', 'createRange',
173173
\ 'createTextNode', 'createTouchList', 'createTreeWalker',
174-
\ 'enableStyleSheetsForSet', 'evaluate', 'focus', 'getElementById',
174+
\ 'enableStyleSheetsForSet', 'evaluate', 'focus',
175175
\ 'getElementById', 'getElementsByClassName', 'getElementsByName',
176176
\ 'getElementsByTagName', 'getElementsByTagNameNS',
177177
\ 'hasStorageAccess', 'importNode', 'onClick', 'onDblClick',

0 commit comments

Comments
 (0)