Skip to content

Commit

Permalink
Not using Markdown for now
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Feb 24, 2019
1 parent a9a5546 commit 3b5ccc2
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/services/htmlCompletion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ export class HTMLCompletion {
result.items.push({
label: tag.name,
kind: CompletionItemKind.Property,
documentation: {
kind: MarkupKind.Markdown,
value: tag.description || '',
},
documentation: tag.description,
textEdit: TextEdit.replace(range, tag.name),
insertTextFormat: InsertTextFormat.PlainText
});
Expand Down Expand Up @@ -126,10 +123,7 @@ export class HTMLCompletion {
result.items.push({
label: '/' + tag.name,
kind: CompletionItemKind.Property,
documentation: {
kind: MarkupKind.Markdown,
value: tag.description || '',
},
documentation: tag.description,
filterText: '/' + tag + closeTag,
textEdit: TextEdit.replace(range, '/' + tag + closeTag),
insertTextFormat: InsertTextFormat.PlainText
Expand Down Expand Up @@ -192,10 +186,7 @@ export class HTMLCompletion {
result.items.push({
label: attr.name,
kind: attr.valueSet === 'handler' ? CompletionItemKind.Function : CompletionItemKind.Value,
documentation: {
kind: MarkupKind.Markdown,
value: attr.description || '',
},
documentation: attr.description,
textEdit: TextEdit.replace(range, codeSnippet),
insertTextFormat: InsertTextFormat.Snippet,
command
Expand Down

0 comments on commit 3b5ccc2

Please sign in to comment.