File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11# Bash Language Server
22
3+ ## 5.3.1
4+
5+ - Clear diagnostics when closing document https://github.com/bash-lsp/bash-language-server/pull/1135
6+
37## 5.3.0
48
59- Add support for formatting using shfmt (if installed). https://github.com/bash-lsp/bash-language-server/pull/1136
Original file line number Diff line number Diff line change 33 "description" : " A language server for Bash" ,
44 "author" : " Mads Hartmann" ,
55 "license" : " MIT" ,
6- "version" : " 5.3.0 " ,
6+ "version" : " 5.3.1 " ,
77 "main" : " ./out/server.js" ,
88 "typings" : " ./out/server.d.ts" ,
99 "bin" : {
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ export default class BashServer {
163163 } )
164164
165165 this . documents . onDidClose ( ( event ) => {
166+ connection . sendDiagnostics ( { uri : event . document . uri , diagnostics : [ ] } )
166167 delete this . uriToCodeActions [ event . document . uri ]
167168 } )
168169
You can’t perform that action at this time.
0 commit comments