Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ readWrappedOut clientReqMap serverReqMap wrappedOut sendToStdout = forever $ do
Nothing -> return m
sendToStdout (transformServerReq meth msg)
Right (ServerToClientRsp meth initialParams msg) ->
transformServerRsp meth initialParams msg >>= sendToStdout
transformServerRsp rustNotebookConfig meth initialParams msg >>= sendToStdout

readWrappedErr :: MonadLoggerIO m => Handle -> m ()
readWrappedErr wrappedErr = forever $ do
Expand Down
1 change: 1 addition & 0 deletions src/Transform/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ rustNotebookConfig = NotebookConfig {
, notebookConfigOnDocumentsChanged = updateLibRs
, notebookConfigTransformInitialize = transformInitialize
, notebookConfigCustomUriMethods = ["rust-analyzer/analyzerStatus"]
, notebookConfigIgnoreSymbol = const False
, notebookConfigLanguageName = "rust"
}

Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ system-ghc: true

extra-deps:
- git: https://github.com/codedownio/notebook-language-server-core.git
commit: b474d01835bb175c5564b931bcec32424551fccd
commit: b181af10fe24da329fba6d48581245e0d7867acb

# - language-rust-0.2.0.27

Expand Down
6 changes: 3 additions & 3 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

packages:
- completed:
commit: b474d01835bb175c5564b931bcec32424551fccd
commit: b181af10fe24da329fba6d48581245e0d7867acb
git: https://github.com/codedownio/notebook-language-server-core.git
name: notebook-language-server-core
pantry-tree:
sha256: 554c2a636ed5e2dac188feae84770503a5fb70824cac9d45c8ffe6a41e0d268b
sha256: d07fbf4896e49b11bbf12bb2f4895dab55ed01cf2740cc7b96e494baa9cdb198
size: 1919
version: 0.1.0.0
original:
commit: b474d01835bb175c5564b931bcec32424551fccd
commit: b181af10fe24da329fba6d48581245e0d7867acb
git: https://github.com/codedownio/notebook-language-server-core.git
snapshots:
- completed:
Expand Down
Loading