projects
/
lsp-test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Hook LSP script into haskell-lsp-test
[lsp-test.git]
/
test.lsp
1
"start" { wait for any then open "src/Lib.hs" "haskell" }
2
"get the symbols" {
3
wait for
4
method == "textDocument/publishDiagnostics"
5
then
6
open "src/Lib.hs" "haskell"
7
id1: request "textDocument/documentSymbol" {
8
textDocument: {
9
uri: uri "src/Lib.hs"
10
}
11
}
12
}
13
"check the symbols" {
14
wait for
15
id == 1
16
then
17
open "src/Lib.hs" "haskell"
18
}