bugfix: snippet completion for block commands
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c3e33c3340
commit
229d84bd2d
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,13 +1,17 @@
|
|||
<!--
|
||||
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.
|
||||
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.
|
||||
-->
|
||||
|
||||
# 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.
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"_copyrightNotice": [
|
||||
"Copyright (C) 2020,2021 CismonX <admin@cismon.net>",
|
||||
"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."
|
||||
],
|
||||
"name": "texinfo",
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"_copyrightNotice": [
|
||||
"Copyright (C) 2020,2021 CismonX <admin@cismon.net>",
|
||||
"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."
|
||||
|
@ -9,7 +9,7 @@
|
|||
"displayName": "Texinfo Language Support",
|
||||
"description": "Texinfo language support for Visual Studio Code",
|
||||
"publisher": "cismonx",
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"author": {
|
||||
"name": "CismonX",
|
||||
"email": "admin@cismon.net",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* providers/completion_item.ts
|
||||
*
|
||||
* Copyright (C) 2020,2021 CismonX <admin@cismon.net>
|
||||
* Copyright (C) 2020,2021,2022 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}`
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue