aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/clangd.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat: expose configsMichael Lingelbach2021-11-251-76/+0
|
* feat: add single file mode (#1385)Michael Lingelbach2021-11-111-1/+2
| | | | | | | | | | | | * This adds a "single file mode" option for each language server * Currently, if a root is not detected, a new language server is started for each file opened. * Root directory is set to `nil` in start_client. Some servers will refuse to start, or otherwise panic. This is opt-in per server. * Some servers, such as rust-analyzer, explicitly have a "single file mode", we will not support that until it is officially part of the LSP specification Co-authored-by: Peter Lithammer <peter.lithammer@gmail.com>
* fix: set offset encoding by default (#1360)Michael Lingelbach2021-10-311-6/+0
| | | | | | Some servers (clangd, rust-analyzer) support using byte ranges (utf-8 encodings). Currently this logic is handled in the configuration's on_init. This is moved into the on_init wrapper to avoid being overridden accidentally by users.
* docs: mention Bear can generate compile_commands.json (#1318)Igor Lacerda2021-10-161-1/+1
|
* fix: add compat shim for handler change in core (#1248)Christian Clason2021-09-101-10/+15
| | | | | | Add a compatibility shim to `util.lua` adapting to change in handler signature and use it where needed. (Skip `rust-analyzer` and `denols` since their requests don't use handlers.)
* chore: remove modeline (#1177)Michael Lingelbach2021-08-241-1/+0
|
* chore: change stylua to single quotes (#1068)Michael Lingelbach2021-07-131-11/+11
|
* ci: lint and format with styluaMichael Lingelbach2021-07-031-33/+39
|
* clangd: "can’t" -> "cannot" in switchSourceHeader failure messageBradley Hardy2021-06-091-1/+1
|
* Fix clangd when default_config not setMichael Lingelbach2021-03-081-1/+3
|
* Fix clangd not honoring default capabilitiesPatrice Peterson2021-03-081-1/+1
| | | | Fixes #770.
* Update clangd installation linkNamkhai B2021-01-301-1/+1
| | | | Clangd's docs moved to https://clangd.llvm.org
* clangd: fix capabilities by extending protocol defaults with utf-8 offset ↵John Drouhard2021-01-081-8/+17
| | | | | | | encoding Also removes the utf8_config helper function which was only used by clangd and is a clangd-specific protocol extension.
* Rename nvim_lsp to lspconfigHirokazu Hata2020-09-061-0/+60