aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/util.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: single_file_mode should be single_file_support (#1489)Michael Lingelbach2021-11-261-4/+4
|
* chore: clean up importsMichael Lingelbach2021-11-251-1/+1
|
* fix: only set cmd_cwd if filepath exists (#1485)Michael Lingelbach2021-11-251-1/+2
|
* fix: set correct cwd config key when unset (#1483)Julian Berman2021-11-251-2/+4
| | | pass `cmd_cwd` instead of `cwd` in `config` to start_client
* chore: remove executable check (#1477)Michael Lingelbach2021-11-241-5/+8
| | | | | | * start_client handles checking if the server is executable, it is redundant to check this in lspconfig * vim.fn.executable does not respect cmd_env, which can allow injecting servers via a local PATH override
* chore: internally switch to sending workspaceFolders (#1453)Michael Lingelbach2021-11-191-0/+1
|
* feat: add worktree support to find_git_ancestor (#1450)Michael Lingelbach2021-11-191-1/+2
| | | | | * find_git_ancestor previously only checked for `.git ` directories * git worktrees use a `.git` file with reference to the original git directory
* chore: clean up unused function args (#1426)Michael Lingelbach2021-11-151-1/+1
|
* fix: update error message (#1406)William Boman2021-11-111-1/+1
| | | * point at server_configurations.md instead of CONFIG.md
* feat: spawn the language server in resolved root directory (#1407)Michael Lingelbach2021-11-111-0/+4
|
* feat: add single file mode (#1385)Michael Lingelbach2021-11-111-8/+25
| | | | | | | | | | | | * 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>
* feat: improve interface for `:Lsp*` commands (#1324)Vsevolod2021-10-171-0/+11
|
* fix: add compat shim for handler change in core (#1248)Christian Clason2021-09-101-0/+21
| | | | | | 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.)
* fix(ui): gracefully handle nil filetypes (#1217)kylo2522021-09-031-6/+9
|
* feat(lspinfo): improve layout (#1186)kylo2522021-08-281-0/+28
|
* Revert "feat(ui): lspinfo: better layout #1184)" (#1185)Michael Lingelbach2021-08-251-11/+0
| | | This reverts commit d6e78ef013a57761226df5b842d52912f15011dd.
* feat(ui): lspinfo: better layout #1184)kylo2522021-08-251-0/+11
|
* chore: remove modeline (#1177)Michael Lingelbach2021-08-241-1/+0
|
* fix: unsilent autocmd to print warning (#1171)Michael Lingelbach2021-08-241-4/+1
|
* feat(lspinfo): display autostart status (#964)Matthieu Coudron2021-08-061-0/+1
|
* ci: run codespell on pull requests (#1101)dundargoc2021-07-251-1/+1
|
* feat: added global on_setup hookFolke Lemaitre2021-07-191-0/+3
|
* feat: added option to disable an lsp server from the configFolke Lemaitre2021-07-191-0/+4
|
* chore: change stylua to single quotes (#1068)Michael Lingelbach2021-07-131-30/+30
|
* fix: ensure path exists before calling fs_realpath (#1052)Michael Lingelbach2021-07-091-2/+3
|
* feat: try to resolve root for new filesMichael Lingelbach2021-07-081-4/+12
|
* Revert "fix: try to resolve root directory if file is not yet on disk"Michael Lingelbach2021-07-051-1/+1
| | | | This reverts commit 625017df3e1e347ba35e7d6ef7a56efd096e8963.
* fix: try to resolve root directory if file is not yet on diskMark Harrison2021-07-041-1/+1
|
* ci: lint and format with styluaMichael Lingelbach2021-07-031-55/+72
|
* fix: prevent dirname returning '/' if path is empty stringrayx2021-07-031-1/+3
|
* utils: fix script_path on windowsMichael Lingelbach2021-05-011-1/+1
|
* Use dofile instead of require for faster setup({})Michael Lingelbach2021-04-231-0/+5
| | | | | | * closes #239 * For 76 language servers, this decreases time to invoke setup({}) from ~126 ms to ~1ms
* Fix root_dir for wildcards and file in wildignoreTristan Konolige2021-04-091-2/+4
|
* Remove duplicated tbl_deep_extendMichael Lingelbach2021-03-281-34/+0
|
* lspconfig: use vim.notify to warn of absent LSP executableMatthieu Coudron2021-02-151-1/+1
|
* Remove an unused funcdelphinus2021-01-201-7/+0
|
* Merge pull request #509 from mjlbach/remove_deprecated_handlersMichael Lingelbach2021-01-151-10/+0
|\ | | | | Remove deprecated handlers
| * remove deprecated handlers that were moved to neovim coreMichael Lingelbach2021-01-081-10/+0
| |
* | Check if language server is executable before trying to start itMichael Lingelbach2021-01-141-2/+7
| |
* | clangd: fix capabilities by extending protocol defaults with utf-8 offset ↵John Drouhard2021-01-081-10/+0
|/ | | | | | | encoding Also removes the utf8_config helper function which was only used by clangd and is a clangd-specific protocol extension.
* Remove all installers and install logicMichael Lingelbach2021-01-031-109/+5
|
* Change the rest of the callback usagesIron_E2020-11-151-1/+1
|
* Rename nvim_lsp to lspconfigHirokazu Hata2020-09-061-0/+445