• Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

Key Description Default
sh.enable true
sh.commandPath
bashIde.backgroundAnalysisMaxFiles Maximum number of files to analyze in the background. Set to 0 to disable background analysis. 500
bashIde.enableSourceErrorDiagnostics Enable diagnostics for source errors. Ignored if includeAllWorkspaceSymbols is true.
bashIde.explainshellEndpoint Configure explainshell server endpoint in order to get hover documentation on flags and options.
bashIde.globPattern Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files. `**/*@(.sh
bashIde.includeAllWorkspaceSymbols Controls how symbols (e.g. variables and functions) are included and used for completion and documentation. 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.logLevel Controls the log level of the language server. info
bashIde.shellcheckPath Controls the executable used for ShellCheck linting information. An empty string will disable linting. shellcheck
bashIde.shellcheckArguments Additional 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

More Repositories

1

coc-go

Go language server extension using gopls for coc.nvim.
TypeScript
523
star
2

coc-lua

Lua language server extension using lua-lsp for coc.nvim.
TypeScript
110
star
3

coc-docker

Docker language server extension using dockerfile-language-server-nodejs for coc.nvim.
Shell
62
star
4

vim-lightline-coc

Vim Script
52
star
5

atom-svg-preview

Live SVG preview for Atom editor
JavaScript
51
star
6

atom-blame

Show git blame as a gutter in Atom editor
JavaScript
22
star
7

atom-pandoc-convert

JavaScript
19
star
8

nvim-lightline-lsp

Vim Script
17
star
9

vim-clippy

Vim Script
14
star
10

atom-linter-less

Linter plug in for Less in the Atom text editor
JavaScript
11
star
11

atom-caniuse

JavaScript
11
star
12

vscode-ember-related-files

TypeScript
11
star
13

vscode-markdown-table-formatter

TypeScript
10
star
14

nvim-lsp-codelenses

Lua
7
star
15

nvim-actions

Lua
7
star
16

atom-ide-ember

JavaScript
7
star
17

atom-linter-handlebars

AtomLinter interface to handlebars
JavaScript
6
star
18

jenkins-theme-clean

jenkins-theme-clean
CSS
6
star
19

coc-lua-binaries

5
star
20

nvim-telescope-minimal-layout

Lua
5
star
21

atom-linter-node-markdownlint

JavaScript
4
star
22

atom-smyck

Smyck color scheme for atom
CSS
4
star
23

atom-ide-docker

JavaScript
4
star
24

ember-find-related-files

JavaScript
3
star
25

nvim-telescope-workspaces

Lua
3
star
26

nvim-file-tree

Lua
2
star
27

atom-linter-json-lint

JavaScript
2
star
28

nvim-gx

Lua
2
star
29

atom-http-status-codes

JavaScript
2
star
30

go-prompt

Go
2
star
31

nvim-telescope-select

Lua
2
star
32

nvim-quickfix

Lua
1
star
33

nvim-neighbors

Lua
1
star
34

nvim-lsp-autoformat

Lua
1
star
35

hastdueier-twitter-bot

JavaScript
1
star
36

git-bus-factor

Go
1
star
37

vscode-xcode-project

TypeScript
1
star
38

jsonschema-bitbucket-pipelines

1
star
39

vim-go-syntax

Vim Script
1
star
40

go-gitutils

Go
1
star
41

nvim-filetree

Go
1
star
42

go-devicons

Go
1
star
43

vim-monkey-c

Vim Script
1
star
44

atom-readme

JavaScript
1
star
45

lua-vim-textobj-user

Lua
1
star
46

homebrew-moneymoney-extensions

Ruby
1
star
47

coc-dev-tools

JavaScript
1
star
48

alfred-slack-status

JavaScript
1
star
49

nodeschool

JavaScript
1
star
50

alfred-google-maps

Go
1
star
51

zsh-upgrade-all

Shell
1
star
52

go-spinner

Go
1
star
53

go-zip

Go
1
star
54

vim-lightline-sensible

Vim Script
1
star
55

alfred-text-transformation

JavaScript
1
star
56

git-repo

Go
1
star
57

ZyFileheader

Help add fileheader when file is created.
Python
1
star
58

atom-linter-package-json-validator

JavaScript
1
star
59

atom-package-settings

JavaScript
1
star
60

atom-ember-module-import-snippets

JavaScript
1
star
61

go-applescript

Go
1
star