[mlir-lsp-server] Add support for hover on symbol references
authorRiver Riddle <riddleriver@gmail.com>
Mon, 7 Jun 2021 20:59:50 +0000 (13:59 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Mon, 7 Jun 2021 21:07:41 +0000 (14:07 -0700)
commit4c3adea7a4ab7c63010a953547152d4ad861f9de
tree21d4b5e7f9f9559c53368d8c1605a553118ac8f6
parentf492c35965036d67833dae3c21498dcd1c1ed1fe
[mlir-lsp-server] Add support for hover on symbol references

For now the hover simply shows the same information as hovering on the operation
name. If necessary this can be tweaked to something symbol specific later.

Differential Revision: https://reviews.llvm.org/D103728
mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
mlir/test/mlir-lsp-server/hover.test