We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fd4ade + 29d81c7 commit ec5b89bCopy full SHA for ec5b89b
package.json
@@ -3,7 +3,7 @@
3
"scripts": {
4
"clean": "rm -rf *.log */*.log */out node_modules vscode-client/node_modules server/node_modules",
5
"preinstall": "npx only-allow pnpm",
6
- "compile": "tsc -b",
+ "compile": "tsc -b && cp server/src/get-options.sh server/out/",
7
"watch": "tsc -b -w",
8
"lint": "pnpm lint:bail --fix",
9
"lint:bail": "eslint . --ext js,ts,tsx --cache",
server/src/__tests__/server.test.ts
@@ -82,6 +82,7 @@ describe('server', () => {
82
"triggerCharacters": [
83
"$",
84
"{",
85
+ "-",
86
],
87
},
88
"definitionProvider": true,
server/src/server.ts
@@ -121,7 +121,7 @@ export default class BashServer {
121
textDocumentSync: LSP.TextDocumentSyncKind.Full,
122
completionProvider: {
123
resolveProvider: true,
124
- triggerCharacters: ['$', '{'],
+ triggerCharacters: ['$', '{','-'],
125
126
hoverProvider: true,
127
documentHighlightProvider: true,
@@ -950,7 +950,7 @@ function getMarkdownContent(documentation: string, language?: string): LSP.Marku
950
}
951
952
export function getCommandOptions(name: string, word: string): string[] {
953
- const options = spawnSync(path.join(__dirname, '../src/get-options.sh'), [name, word])
+ const options = spawnSync(path.join(__dirname, './get-options.sh'), [name, word])
954
955
if (options.status !== 0) {
956
return []
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments