File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
lsp-test/test/data/documentSymbolFail/example
lsp-types/src/Language/LSP/Types Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ main = do
68
68
(Just (LSP. CodeLensClientCapabilities (Just False )))
69
69
(Just (LSP. DocumentLinkClientCapabilities (Just False )))
70
70
(Just (LSP. RenameClientCapabilities (Just False )))
71
+ (Just (LSP. CallHierarchyClientCapabilities (Just False )))
71
72
72
73
initializeParams :: LSP. InitializeParams
73
74
initializeParams = LSP. InitializeParams (Just pid) Nothing Nothing Nothing caps Nothing
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ data TextDocumentClientCapabilities =
144
144
-- Since LSP 3.15.0
145
145
, _selectionRange :: Maybe SelectionRangeClientCapabilities
146
146
147
- -- | Call hierarchy specific to the `textDocument/callHierarchy ` request.
147
+ -- | Call hierarchy specific to the `textDocument/prepareCallHierarchy ` request.
148
148
-- Since LSP 3.16.0
149
149
, _callHierarchy :: Maybe CallHierarchyClientCapabilities
150
150
} deriving (Show , Read , Eq )
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ clientMethods = [
56
56
," documentLink/resolve"
57
57
," textDocument/rename"
58
58
," textDocument/prepareRename"
59
+ ," textDocument/prepareCallHierarchy"
60
+ ," callHierarchy/incomingCalls"
61
+ ," callHierarchy/outgoingCalls"
59
62
]
60
63
61
64
serverMethods :: [T. Text ]
You can’t perform that action at this time.
0 commit comments