diff --git a/server/CHANGELOG.md b/server/CHANGELOG.md index 9b34a104a..4420001a7 100644 --- a/server/CHANGELOG.md +++ b/server/CHANGELOG.md @@ -1,5 +1,14 @@ # Bash Language Server +## 4.10.3 + +- Use cat as man pager https://github.com/bash-lsp/bash-language-server/pull/909 + +## 4.10.2 + +- Bump semver development dependency causing false positive distributions security warnings https://github.com/bash-lsp/bash-language-server/pull/905 + + ## 4.10.1 - Handle tree-sitter-bash parse errors gracefully diff --git a/server/package.json b/server/package.json index e8411e0bd..2920fa35b 100644 --- a/server/package.json +++ b/server/package.json @@ -3,7 +3,7 @@ "description": "A language server for Bash", "author": "Mads Hartmann", "license": "MIT", - "version": "4.10.2", + "version": "4.10.3", "main": "./out/server.js", "typings": "./out/server.d.ts", "bin": { diff --git a/server/src/util/sh.ts b/server/src/util/sh.ts index 93adf1c04..4d665635e 100644 --- a/server/src/util/sh.ts +++ b/server/src/util/sh.ts @@ -53,7 +53,7 @@ const WORDS_WITHOUT_DOCUMENTATION = new Set([ ]) /** - * Get documentation for the given word by usingZZ help and man. + * Get documentation for the given word by using help and man. */ export async function getShellDocumentationWithoutCache({ word, @@ -73,7 +73,7 @@ export async function getShellDocumentationWithoutCache({ // We have experimented with setting MANWIDTH to different values for reformatting. // The default line width of the terminal works fine for hover, but could be better // for completions. - { type: 'man', command: `man ${word} | col -bx` }, + { type: 'man', command: `man -P cat ${word} | col -bx` }, ] for (const { type, command } of DOCUMENTATION_COMMANDS) {