Compare commits

..

No commits in common. "229d84bd2d8d88c407e212ff48198de70f5f54b1" and "2275b94c1d0684cfa3272c64d206273b547ce896" have entirely different histories.

4 changed files with 405 additions and 719 deletions

View File

@ -1,17 +1,13 @@
<!--
Copyright (C) 2020,2021,2022 CismonX <admin@cismon.net>
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty, provided the copyright notice and
this notice are preserved. This file is offered as-is, without any warranty.
Copyright (C) 2020,2021 CismonX <admin@cismon.net>
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty, provided the copyright notice and
this notice are preserved. This file is offered as-is, without any warranty.
-->
# Changelog
## v0.2.4 - 02/02/2022
* Fix a bug which breaks the snippet completion of block commands.
## v0.2.3 - 10/23/2021
* Fix a bug which prevents diagnostic info from displaying correctly in GNU Texinfo 6.8, and on Windows platform.

1086
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"_copyrightNotice": [
"Copyright (C) 2020,2021,2022 CismonX <admin@cismon.net>",
"Copyright (C) 2020,2021 CismonX <admin@cismon.net>",
"Copying and distribution of this file, with or without modification,",
"are permitted in any medium without royalty, provided the copyright notice and this notice are preserved.",
"This file is offered as-is, without any warranty."
@ -9,7 +9,7 @@
"displayName": "Texinfo Language Support",
"description": "Texinfo language support for Visual Studio Code",
"publisher": "cismonx",
"version": "0.2.4",
"version": "0.2.3",
"author": {
"name": "CismonX",
"email": "admin@cismon.net",
@ -26,20 +26,20 @@
"@types/node": "^14.17.29",
"@types/vscode": "~1.40.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"cson": "^7.20.0",
"eslint": "^8.8.0",
"eslint": "^8.1.0",
"json": "^11.0.0",
"json5": "^2.2.0",
"language-texinfo": "^1.1.0",
"minify-xml": "^3.3.1",
"minify-xml": "^3.2.0",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"vsce": "^2.6.6",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
"typescript": "^4.4.4",
"vsce": "^1.100.2",
"webpack": "^5.59.1",
"webpack-cli": "^4.9.1"
},
"scripts": {
"vscode:prepublish": "webpack --mode production",

View File

@ -1,7 +1,7 @@
/**
* providers/completion_item.ts
*
* Copyright (C) 2020,2021,2022 CismonX <admin@cismon.net>
* Copyright (C) 2020,2021 CismonX <admin@cismon.net>
*
* This file is part of vscode-texinfo.
*
@ -1351,7 +1351,7 @@ function blockSnippet(name: string, detail: string, ...args: string[]) {
.join(' ');
return snippet(name, name, detail, 0,
`@${name} ${args.join(' ')}\n\n@end ${name}`,
name + (args.length ? ' ' : '') + argsIndexed +
name + args.length ? ' ' : '' + argsIndexed +
`\n$${args.length + 1}\n@end ${name}`
);
}