From afc88ae0258f59d19d7bf65f0f0275bd285e07bc Mon Sep 17 00:00:00 2001 From: CismonX Date: Wed, 4 Nov 2020 15:07:54 +0800 Subject: [PATCH] Implement completion. --- src/providers/completion_item.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/providers/completion_item.ts b/src/providers/completion_item.ts index 442ac9e..72d40c1 100644 --- a/src/providers/completion_item.ts +++ b/src/providers/completion_item.ts @@ -121,6 +121,19 @@ export default class CompletionItemProvider implements vscode.CompletionItemProv ...lineCommandX('defvar', 'Format a description for a variable', 'variable-name'), ...lineCommandX('defvr', 'Format a description for any kind of variable', 'category', 'name'), command('detailmenu', 'Mark the (optional) detailed node listing in a master menu'), + ...braceCommand('dfn', 'Indicate the introductory or defining use of a term', 1, 'term'), + command('DH', 'Generate the uppercase Icelandic letter eth, "Ð", ð', { hasEmptyArguments: true }), + command('dh', 'Generate the lower Icelandic letter eth, "ð"', { hasEmptyArguments: true }), + ...lineCommand('dircategory', "Specify a part of the Info directory menu where this file's entry should go", + 'dirpart'), + ...blockCommand('direntry', 'Begin the Info directory menu entry for this file'), + ...blockCommand('display', 'Begin a kind of example'), + ...braceCommand('dmn', 'Format a unit of measure, as in 12pt', 1, 'dimension'), + ...blockCommand('docbook', 'Enter Docbook completely'), + ...blockCommand('documentdescription', 'Set the document description text, included in the HTML output'), + ...lineCommand('documentencoding', 'Declare the input encoding', 'enc'), + ...lineCommand('documentlanguage', 'Declares the current document locale', 'll_CC'), + ...braceCommand('dotaccent', 'Generate a dot accent over the character', 1, 'c'), ...lineCommand('setfilename', 'Provide a name for the output files', 'info-file-name'), ...lineCommand('settitle', 'Specify the title for page headers', 'title'),