regen100 / cmake-language-server

CMake LSP Implementation
MIT License
324 stars 25 forks source link

Differences in document hover content #58

Open YuCao16 opened 1 year ago

YuCao16 commented 1 year ago

Hello, I'm switch from coc.nvim to neovim builtin Lsp, but I noticed the document hover content is entirely different. Document hover from coc.nvim is as follow: image However, when I toggle document hover for the same command (add_executable), I only got:

add_executable(<name> [WIN32] [MACOSX_BUNDLE]
               [EXCLUDE_FROM_ALL]
               [source1] [source2 ...])

In addition, when I toggle document hover for for example find_package, I only got find_package() and nothing else.

I'd like to know what the original behavior should be, and whether the detailed documentation is generated by coc-cmake, or whether I'm not getting the same results on nvim-lsp because of the configuration.

Konfekt commented 1 month ago

I also noticed that the documentation is terse in contrast to, say, that of https://github.com/Decodetalkers/neocmakelsp, and wonder if it is simply due to a misconfiguration?