diff --git a/doc/vscode-texinfo.texi b/doc/vscode-texinfo.texi index f224005..f8e046d 100644 --- a/doc/vscode-texinfo.texi +++ b/doc/vscode-texinfo.texi @@ -74,8 +74,8 @@ Creative Commons Attribution-ShareAlike 4.0 International License}. @chapter Overview Texinfo is a typesetting language designed for writing software manuals. It's -the official documention format for GNU projects, but not as popular in modern -non-GNU free software projects. +the official documentation format for GNU projects, but not as popular in +modern non-GNU free software projects. One of the main reasons is the lack of editor support. While Emacs does offer a ``texinfo-mode'', however, Emacs is not widely used among average software @@ -413,7 +413,7 @@ allow @@-commands}, which is not handled in vscode-texinfo due to performance considerations. For these nodes, this feature does not work. @end quotation -To disable this feature and hide the code lenses, switch off the configuation +To disable this feature and hide the code lenses, switch off the configuration item @code{texinfo.enableCodeLens}. See the Visual Studio Code User Guide for more information about @@ -431,7 +431,7 @@ HTML previews. can produce before quitting. (@code{--error-limit=NUM}) @item @code{texinfo.preview.includePaths}: Array of extra paths to search for @code{@@include} files. (@code{-I PATH}) -@item @code{texinfo.preview.maxSize}: Max allowed size for the genereated HTML +@item @code{texinfo.preview.maxSize}: Max allowed size for the generated HTML file before it's displayed in the preview. Files larger than this limit will trigger an error. @item @code{texinfo.preview.noHeaders}: When enabled, headers and menus are no diff --git a/package.json b/package.json index e6bee02..d9fa487 100644 --- a/package.json +++ b/package.json @@ -201,7 +201,7 @@ "texinfo.preview.noValidation": { "type": "boolean", "default": false, - "description": "Supress node cross-reference validation." + "description": "Suppress node cross-reference validation." }, "texinfo.preview.variables": { "type": "array", diff --git a/src/contexts/document_symbol.ts b/src/contexts/document_symbol.ts index a92f7c1..a1aed5f 100644 --- a/src/contexts/document_symbol.ts +++ b/src/contexts/document_symbol.ts @@ -30,7 +30,7 @@ import { FoldingRange, Optional } from '../utils/types'; export default class DocumentSymbolContext { get documentSymbols() { - return this._documentSymbols ??= this._calculcateDocumentSymbols(); + return this._documentSymbols ??= this._calculateDocumentSymbols(); } clear() { @@ -46,7 +46,7 @@ export default class DocumentSymbolContext /** * Calculate document symbols based on folding ranges. */ - private _calculcateDocumentSymbols() { + private _calculateDocumentSymbols() { const ranges = Array>(this._document.lineCount); this._documentContext.foldingRange.foldingRanges .filter(range => range.kind === undefined) diff --git a/src/providers/completion_item.ts b/src/providers/completion_item.ts index 3bec8a1..a6e110e 100644 --- a/src/providers/completion_item.ts +++ b/src/providers/completion_item.ts @@ -619,7 +619,7 @@ export default class CompletionItemProvider 'Insert paragraph indentation', ), ...blockCommand('indentedblock', - 'Indent a block of arbitary text on the left', + 'Indent a block of arbitrary text on the left', ), ...braceCommand('indicateurl', 'Indicate text that is a URL',