| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | ci: fix new luacheck v0.26.0 errors | Peter Lithammer | 2022-03-28 | 1 | -2/+2 |
| | | | | | | | | | | See https://github.com/lunarmodules/luacheck/releases/tag/v0.26.0 lua/lspconfig/util.lua:225:40: used variable _make_config lua/lspconfig/configs.lua:207:63: used variable _root_dir lua/lspconfig/configs.lua:260:19: 'not (x == y)' can be replaced by 'x ~= y' (if neither side is a table or NaN) | ||||
| * | fix(lspstop): make LspStop behave as described in the docs (#1764) | Federico Igne | 2022-03-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | This bug was introduced in #1324. When calling `:LspStop <args>`, the current code tries to match a string with the format "123 (blablabla)", which will result in terminating the server with ID 123. This is fine when using autocompletion, but if doing this programmatically (or just following the docs) something like `:LspStop 1` will not match anything, resulting in terminating *all* managed servers. This should be enough to fix the bug, allow terminating multiple servers at once and keeping the nice UX provided by the autocompletion. | ||||
| * | fix: only attempt to attach to valid bufnames (#1598) | Michael Lingelbach | 2021-12-23 | 1 | -0/+8 |
| | | | | | * Check that a bufname begins with a filesystem root specifier such as a drive letter (Windows) or "/" (Unix) * Unify with check that buf name is not "" or nil | ||||
| * | fix: internally use forward delineated paths cross-platform (#1593) | Michael Lingelbach | 2021-12-23 | 1 | -34/+37 |
| | | | | | * Escape paths used to autocommands * Always normalize windows path to forward slash for internal use | ||||
| * | fix: only stop/restart managed clients on :LspStop/:LspRestart (#1591) | Jose Alvarez | 2021-12-21 | 1 | -1/+12 |
| | | |||||
| * | chore!: remove compat shims for pre-0.5.1 handlers (#1530) | Christian Clason | 2021-12-02 | 1 | -21/+0 |
| | | |||||
| * | chore: use client.request instead of buf_request (#1503) | ranjithshegde | 2021-11-29 | 1 | -0/+8 |
| | | | | | | | | * Use client.request directly instead of vim.lsp.buf_request to call methods that are outside the official LSP specification, such as clangd's "textDocument/switchSourceHeader". * This avoids sending an inapplicable request to all servers, as we cannot ahead of time validate the methods a given server supports. | ||||
| * | chore: prefix all vim.notify message with [lspconfig] (#1496) | William Boman | 2021-11-27 | 1 | -2/+3 |
| | | |||||
| * | fix: single_file_mode should be single_file_support (#1489) | Michael Lingelbach | 2021-11-26 | 1 | -4/+4 |
| | | |||||
| * | chore: clean up imports | Michael Lingelbach | 2021-11-25 | 1 | -1/+1 |
| | | |||||
| * | fix: only set cmd_cwd if filepath exists (#1485) | Michael Lingelbach | 2021-11-25 | 1 | -1/+2 |
| | | |||||
| * | fix: set correct cwd config key when unset (#1483) | Julian Berman | 2021-11-25 | 1 | -2/+4 |
| | | | | pass `cmd_cwd` instead of `cwd` in `config` to start_client | ||||
| * | chore: remove executable check (#1477) | Michael Lingelbach | 2021-11-24 | 1 | -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 Lingelbach | 2021-11-19 | 1 | -0/+1 |
| | | |||||
| * | feat: add worktree support to find_git_ancestor (#1450) | Michael Lingelbach | 2021-11-19 | 1 | -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 Lingelbach | 2021-11-15 | 1 | -1/+1 |
| | | |||||
| * | fix: update error message (#1406) | William Boman | 2021-11-11 | 1 | -1/+1 |
| | | | | * point at server_configurations.md instead of CONFIG.md | ||||
| * | feat: spawn the language server in resolved root directory (#1407) | Michael Lingelbach | 2021-11-11 | 1 | -0/+4 |
| | | |||||
| * | feat: add single file mode (#1385) | Michael Lingelbach | 2021-11-11 | 1 | -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) | Vsevolod | 2021-10-17 | 1 | -0/+11 |
| | | |||||
| * | fix: add compat shim for handler change in core (#1248) | Christian Clason | 2021-09-10 | 1 | -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) | kylo252 | 2021-09-03 | 1 | -6/+9 |
| | | |||||
| * | feat(lspinfo): improve layout (#1186) | kylo252 | 2021-08-28 | 1 | -0/+28 |
| | | |||||
| * | Revert "feat(ui): lspinfo: better layout #1184)" (#1185) | Michael Lingelbach | 2021-08-25 | 1 | -11/+0 |
| | | | | This reverts commit d6e78ef013a57761226df5b842d52912f15011dd. | ||||
| * | feat(ui): lspinfo: better layout #1184) | kylo252 | 2021-08-25 | 1 | -0/+11 |
| | | |||||
| * | chore: remove modeline (#1177) | Michael Lingelbach | 2021-08-24 | 1 | -1/+0 |
| | | |||||
| * | fix: unsilent autocmd to print warning (#1171) | Michael Lingelbach | 2021-08-24 | 1 | -4/+1 |
| | | |||||
| * | feat(lspinfo): display autostart status (#964) | Matthieu Coudron | 2021-08-06 | 1 | -0/+1 |
| | | |||||
| * | ci: run codespell on pull requests (#1101) | dundargoc | 2021-07-25 | 1 | -1/+1 |
| | | |||||
| * | feat: added global on_setup hook | Folke Lemaitre | 2021-07-19 | 1 | -0/+3 |
| | | |||||
| * | feat: added option to disable an lsp server from the config | Folke Lemaitre | 2021-07-19 | 1 | -0/+4 |
| | | |||||
| * | chore: change stylua to single quotes (#1068) | Michael Lingelbach | 2021-07-13 | 1 | -30/+30 |
| | | |||||
| * | fix: ensure path exists before calling fs_realpath (#1052) | Michael Lingelbach | 2021-07-09 | 1 | -2/+3 |
| | | |||||
| * | feat: try to resolve root for new files | Michael Lingelbach | 2021-07-08 | 1 | -4/+12 |
| | | |||||
| * | Revert "fix: try to resolve root directory if file is not yet on disk" | Michael Lingelbach | 2021-07-05 | 1 | -1/+1 |
| | | | | | This reverts commit 625017df3e1e347ba35e7d6ef7a56efd096e8963. | ||||
| * | fix: try to resolve root directory if file is not yet on disk | Mark Harrison | 2021-07-04 | 1 | -1/+1 |
| | | |||||
| * | ci: lint and format with stylua | Michael Lingelbach | 2021-07-03 | 1 | -55/+72 |
| | | |||||
| * | fix: prevent dirname returning '/' if path is empty string | rayx | 2021-07-03 | 1 | -1/+3 |
| | | |||||
| * | utils: fix script_path on windows | Michael Lingelbach | 2021-05-01 | 1 | -1/+1 |
| | | |||||
| * | Use dofile instead of require for faster setup({}) | Michael Lingelbach | 2021-04-23 | 1 | -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 wildignore | Tristan Konolige | 2021-04-09 | 1 | -2/+4 |
| | | |||||
| * | Remove duplicated tbl_deep_extend | Michael Lingelbach | 2021-03-28 | 1 | -34/+0 |
| | | |||||
| * | lspconfig: use vim.notify to warn of absent LSP executable | Matthieu Coudron | 2021-02-15 | 1 | -1/+1 |
| | | |||||
| * | Remove an unused func | delphinus | 2021-01-20 | 1 | -7/+0 |
| | | |||||
| * | Merge pull request #509 from mjlbach/remove_deprecated_handlers | Michael Lingelbach | 2021-01-15 | 1 | -10/+0 |
| |\ | | | | | Remove deprecated handlers | ||||
| | * | remove deprecated handlers that were moved to neovim core | Michael Lingelbach | 2021-01-08 | 1 | -10/+0 |
| | | | |||||
| * | | Check if language server is executable before trying to start it | Michael Lingelbach | 2021-01-14 | 1 | -2/+7 |
| | | | |||||
| * | | clangd: fix capabilities by extending protocol defaults with utf-8 offset ↵ | John Drouhard | 2021-01-08 | 1 | -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 logic | Michael Lingelbach | 2021-01-03 | 1 | -109/+5 |
| | | |||||
| * | Change the rest of the callback usages | Iron_E | 2020-11-15 | 1 | -1/+1 |
| | | |||||
