Skip to content

Commit 2c3cbdf

Browse files
committed
fix(lsp): correct typo that broke codelens auto-refresh and stop/restart (#230)
###### Things done - [x] Tested, as applicable: - [x] Manually - [ ] Added plenary specs - [x] Updated [CHANGELOG.md](https://github.com/MrcJkb/haskell-tools.nvim/blob/master/CHANGELOG.md) (if applicable). - [x] Fits [CONTRIBUTING.md](https://github.com/MrcJkb/haskell-tools.nvim/blob/master/CONTRIBUTING.md)
1 parent 369d81b commit 2c3cbdf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.11.3] - 2023-08-06
9+
### Fixed
10+
- Fix bug that broke codelens auto-refresh and lsp stop/restart [#229](https://github.com/mrcjkb/haskell-tools.nvim/issues/229).
11+
812
## [1.11.2] - 2023-08-03
913
### Fixed
1014
- Cabal: Do not advertise `server_capabilities` for `foldingRangeProvider`

lua/haskell-tools/lsp/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ util.cabal_client_name = 'haskell-tools.nvim (cabal)'
2020
---@return lsp.Client[] haskell_clients
2121
---@see util.get_clients
2222
function util.get_active_haskell_clients(bufnr)
23-
return util.get_clients { bufnr = bufnr, name = util.cabal_client_name }
23+
return util.get_clients { bufnr = bufnr, name = util.haskell_client_name }
2424
end
2525

2626
---@param bufnr number the buffer to get clients for

0 commit comments

Comments
 (0)