File tree Expand file tree Collapse file tree 7 files changed +45
-27
lines changed
Expand file tree Collapse file tree 7 files changed +45
-27
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
66
7+ ## v0.2.6.2.2.1 - 2023-11-21
8+
9+ ### Added
10+
11+ - Building with ` lsp-1.6 ` .
12+ Builds with ` lsp ` < 1.7 on GHC 8.10 (LTS 18.28), 9.0 (LTS 19.33), and 9.2 (LTS 20.26)
13+
714## v0.2.6.2.2 - 2023-11-21
815
916### Changed
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cabal-version: 1.12
55-- see: https://github.com/sol/hpack
66
77name : agda-language-server
8- version : 0.2.6.2.2
8+ version : 0.2.6.2.2.1
99synopsis : An implementation of language server protocal (LSP) for Agda 2.
1010description : Please see the README on GitHub at <https://github.com/agda/agda-language-server#readme>
1111category : Development
@@ -23,6 +23,7 @@ extra-source-files:
2323 package.yaml
2424 stack.yaml
2525 stack-8.10.yaml
26+ stack-9.0.yaml
2627
2728source-repository head
2829 type : git
@@ -70,7 +71,7 @@ library
7071 , base >= 4.7 && < 5
7172 , bytestring
7273 , containers
73- , lsp < 1.5
74+ , lsp < 1.7
7475 , mtl
7576 , network
7677 , network-simple
@@ -98,7 +99,7 @@ executable als
9899 , base >= 4.7 && < 5
99100 , bytestring
100101 , containers
101- , lsp < 1.5
102+ , lsp < 1.7
102103 , mtl
103104 , network
104105 , network-simple
@@ -153,7 +154,7 @@ test-suite als-test
153154 , base >= 4.7 && < 5
154155 , bytestring
155156 , containers
156- , lsp < 1.5
157+ , lsp < 1.7
157158 , mtl
158159 , network
159160 , network-simple
Original file line number Diff line number Diff line change 11name : agda-language-server
2- version : 0.2.6.2.2
2+ version : 0.2.6.2.2.1
33github : " banacorn/agda-language-server"
44license : MIT
55author : " Ting-Gian LUA"
@@ -12,6 +12,7 @@ extra-source-files:
1212- package.yaml
1313- stack.yaml
1414- stack-8.10.yaml
15+ - stack-9.0.yaml
1516
1617# Metadata used when publishing your package
1718synopsis : An implementation of language server protocal (LSP) for Agda 2.
@@ -33,7 +34,7 @@ dependencies:
3334 - aeson
3435 - bytestring
3536 - containers
36- - lsp < 1.5
37+ - lsp < 1.7
3738 - mtl
3839 - network
3940 - network-simple
Original file line number Diff line number Diff line change 1+ {-# LANGUAGE CPP #-}
12{-# LANGUAGE DeriveGeneric #-}
23
34-- entry point of the LSP server
@@ -44,7 +45,11 @@ run options = do
4445 $ \ (sock, _remoteAddr) -> do
4546 -- writeChan (envLogChan env) "[Server] connection established"
4647 handle <- socketToHandle sock ReadWriteMode
47- _ <- runServerWithHandles handle handle (serverDefn options)
48+ _ <- runServerWithHandles
49+ #if MIN_VERSION_lsp(1,5,0)
50+ mempty mempty
51+ #endif
52+ handle handle (serverDefn options)
4853 return ()
4954 -- Switchboard.destroy switchboard
5055 return 0
@@ -103,9 +108,8 @@ handlers = mconcat
103108 = req
104109 result <- Handler. onHover uri pos
105110 responder $ Right result
106- -- -- syntax highlighting
111+ -- -- syntax highlighting
107112 -- , requestHandler STextDocumentSemanticTokensFull $ \req responder -> do
108113 -- result <- Handler.onHighlight (req ^. (params . textDocument . uri))
109114 -- responder result
110115 ]
111-
Original file line number Diff line number Diff line change 1+ resolver : lts-19.33
2+ compiler : ghc-9.0.2
3+ # Allow a newer minor version of GHC than the snapshot specifies
4+ compiler-check : newer-minor
5+
6+ packages :
7+ - .
8+
9+ # Use some newer versions than in the lts-19.33 snapshot
10+ extra-deps :
11+ - text-icu-0.8.0.1
12+
13+ flags :
14+ Agda :
15+ # optimise-heavily: true
16+ enable-cluster-counting : true
Original file line number Diff line number Diff line change 1- resolver : lts-19.33
2- compiler : ghc-9.0.2
1+ resolver : lts-20.26
2+ compiler : ghc-9.2.8
33# Allow a newer minor version of GHC than the snapshot specifies
44compiler-check : newer-minor
55
66packages :
77- .
88
9- # Use some newer versions than in the lts-19.33 snapshot
10- extra-deps :
11- - text-icu-0.8.0.1
12-
139flags :
1410 Agda :
1511 # optimise-heavily: true
Original file line number Diff line number Diff line change 33# For more information, please see the documentation at:
44# https://docs.haskellstack.org/en/stable/lock_files
55
6- packages:
7- - completed:
8- hackage: text-icu-0.8.0.1@sha256:22d21c91e7a81f1ee5766b3406f4fe9df0ff8cc426581a861de3f6f2fa413449,4624
9- pantry-tree:
10- sha256: 71ed32ecdce71adba6df6220e717b8ec4bd252cc403714c5c4ba70cf6d1aa1e4
11- size: 3223
12- original:
13- hackage: text-icu-0.8.0.1
6+ packages: []
147snapshots:
158- completed:
16- sha256: 6d1532d40621957a25bad5195bfca7938e8a06d923c91bc52aa0f3c41181f2d4
17- size: 619204
18- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/33 .yaml
19- original: lts-19.33
9+ sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
10+ size: 650475
11+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26 .yaml
12+ original: lts-20.26
You can’t perform that action at this time.
0 commit comments