You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Bash language server that brings an IDE-like experience for bash scripts to most
4
4
5
5
We strongly recommend that you install [shellcheck][shellcheck] to enable linting: https://github.com/koalaman/shellcheck#installing
6
6
7
-
Documentation around configuration can be found in the [config.ts](https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts) file.
7
+
Documentation around configuration variables can be found in the [config.ts](https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts) file.
8
8
9
9
## Features
10
10
@@ -24,6 +24,10 @@ To be implemented:
24
24
25
25
## Installation
26
26
27
+
Usually you want to install a client for your editor (see the section below).
28
+
29
+
But if you want to install the server binary:
30
+
27
31
```bash
28
32
npm i -g bash-language-server
29
33
```
@@ -34,6 +38,12 @@ On Fedora based distros:
34
38
dnf install -y nodejs-bash-language-server
35
39
```
36
40
41
+
To verify that everything is working:
42
+
43
+
```bash
44
+
bash-language-server --help
45
+
```
46
+
37
47
If you encounter installation errors, ensure you have node version 14 or newer (`node --version`).
38
48
39
49
### Clients
@@ -68,7 +78,7 @@ endif
68
78
For Vim 8 or Neovim using [YouCompleteMe](https://github.com/ycm-core/YouCompleteMe), add the following to `.vimrc`:
69
79
70
80
```vim
71
-
let g:ycm_language_server =
81
+
let g:ycm_language_server =
72
82
\ [
73
83
\ {
74
84
\ 'name': 'bash',
@@ -148,6 +158,11 @@ Add the configuration to your `.emacs.d/init.el`
148
158
(sh-mode . lsp))
149
159
```
150
160
161
+
## Logging
162
+
163
+
The minimum logging level for the server can be adjusted using the `BASH_IDE_LOG_LEVEL` environment variable
164
+
and through the general [workspace configuration](https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts).
165
+
151
166
## Development Guide
152
167
153
168
Please see [docs/development-guide][dev-guide] for more information.
Copy file name to clipboardExpand all lines: server/CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Bash Language Server
2
2
3
+
## 4.3.0
4
+
5
+
- Add centralized and configurable logger that can be controlled using the `BASH_IDE_LOG_LEVEL` environment variable and workspace configuration. https://github.com/bash-lsp/bash-language-server/pull/669
6
+
3
7
## 4.2.5
4
8
5
9
- Fix a critical bug causing memory leaks and high CPU usage for workspaces with many files https://github.com/bash-lsp/bash-language-server/pull/661
0 commit comments