-
Notifications
You must be signed in to change notification settings - Fork 0
/
LSP-bash.sublime-settings
41 lines (33 loc) · 2.16 KB
/
LSP-bash.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
// Open "Preferences: LSP Utils Settings" from the Command Palette to customize the Node runtime.
"command": ["${node_bin}", "${server_path}", "start"],
"schemes": ["file", "buffer", "res"],
// @see https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts
"settings": {
// Maximum number of files to analyze in the background. Set to 0 to disable background analysis.
// "bashIde.backgroundAnalysisMaxFiles": 500,
// Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files.
// "bashIde.globPattern": "**/*@(.sh|.inc|.bash|.command)",
// Log level for the server. To set the right log level from the start please also use the environment variable 'BASH_IDE_LOG_LEVEL'.
// Can be "debug", "info", "warning", "error".
// "bashIde.logLevel": "info",
// Controls if Treesitter parsing errors will be highlighted as problems.
// "bashIde.highlightParsingErrors": false,
// Controls how symbols (e.g. variables and functions) are included and used for completion and documentation.
// If false, then we only include symbols from sourced files (i.e. using non dynamic statements like 'source file.sh' or '. file.sh').
// If true, then all symbols from the workspace are included.
// "bashIde.includeAllWorkspaceSymbols": false,
// Configure explainshell server endpoint in order to get hover documentation on flags and options.
// And empty string will disable the feature.
// "bashIde.explainshellEndpoint": "",
// Controls the executable used for ShellCheck linting information. An empty string will disable linting.
// To download shellcheck, go https://github.com/koalaman/shellcheck/releases/latest
// "bashIde.shellcheckPath": "shellcheck",
// Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, --external-sources."
// "bashIde.shellcheckArguments": [],
// The (Jinja2) template of the status bar text which is inside the parentheses `(...)`.
// See https://jinja.palletsprojects.com/templates/
"statusText": "{% if server_version %}v{{ server_version }}{% endif %}",
},
"selector": "source.shell.bash",
}