1.2.2 • Published 5 months ago

coc-sh v1.2.2

Weekly downloads
1,382
License
MIT
Repository
github
Last release
5 months ago

coc-sh

SH language server extension using bash-language-server for coc.nvim.

Install

In your vim/neovim, run command:

:CocInstall coc-sh

Features

See bash-language-server

Configuration options

KeyDescriptionDefault
sh.enabletrue
sh.commandPath
bashIde.backgroundAnalysisMaxFilesMaximum number of files to analyze in the background. Set to 0 to disable background analysis.500
bashIde.enableSourceErrorDiagnosticsEnable diagnostics for source errors. Ignored if includeAllWorkspaceSymbols is true.
bashIde.explainshellEndpointConfigure explainshell server endpoint in order to get hover documentation on flags and options.
bashIde.globPatternGlob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files.**/*@(.sh|.inc|.bash|.command)
bashIde.includeAllWorkspaceSymbolsControls how symbols (e.g. variables and functions) are included and used for completion, documentation, and renaming. If false (default and recommended), then we only include symbols from sourced files (i.e. using non dynamic statements like 'source file.sh' or '. file.sh' or following ShellCheck directives). If true, then all symbols from the workspace are included.
bashIde.logLevelControls the log level of the language server.info
bashIde.shellcheckPathControls the executable used for ShellCheck linting information. An empty string will disable linting.shellcheck
bashIde.shellcheckArgumentsAdditional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, --external-sources.

Trigger completion in coc-settings.json to get complete list.

Development

  1. Run npm run build or npm run build:watch
  2. Link extension: npm run link / npm run unlink

License

MIT © Josa Gesell

1.2.2

5 months ago

1.2.0

7 months ago

1.2.1

5 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago