File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import Language.LSP.Protocol.Types qualified as J (
2323 TextDocumentItem (.. ),
2424 TextDocumentSyncKind (.. ),
2525 TextDocumentSyncOptions (.. ),
26+ Uri (.. ),
2627 VersionedTextDocumentIdentifier (.. ),
2728 type (|? ) (.. ),
2829 )
@@ -96,7 +97,7 @@ handleDidOpen
9697 let J. TextDocumentItem {J. _uri = uri, J. _text = txt} = textDoc
9798 in liftIO $ do
9899 Docs. open uri txt
99- logInfo logAction (" Document opened: " <> show uri)
100+ logInfo logAction (" Document opened: " <> J. getUri uri)
100101
101102-- | didChange: update document in DocumentStore
102103handleDidChange
@@ -123,7 +124,7 @@ handleDidChange
123124 J. InR (J. TextDocumentContentChangeWholeDocument txt) ->
124125 Docs. update uri txt
125126
126- logInfo logAction (" Document changed: " <> show uri)
127+ logInfo logAction (" Document changed: " <> J. getUri uri)
127128 _ -> pure ()
128129
129130handleDidClose
@@ -143,4 +144,4 @@ handleDidClose
143144 let J. TextDocumentIdentifier {_uri = uri} = docId
144145 in liftIO $ do
145146 Docs. delete uri
146- logInfo logAction (" Document closed: " <> show uri)
147+ logInfo logAction (" Document closed: " <> J. getUri uri)
You can’t perform that action at this time.
0 commit comments