aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: do not index nil config.filestypes in try_add (#1673)kyoh862022-01-221-4/+8
|
* fix: try_add_wrapper errors if passed nil for bufnr (#1648)v0.1.1oncomouse2022-01-091-0/+1
|
* fix: properly handle sanitizing bufname in .launch() (#1608)Michael Lingelbach2021-12-251-5/+4
|
* fix: attach to buffer when manually launching in single file mode (#1599)v0.1.0Michael Lingelbach2021-12-231-1/+2
|
* fix: only attempt to attach to valid bufnames (#1598)Michael Lingelbach2021-12-231-12/+13
| | | | * 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: do not attach server to buffers with nil or missing name (#1597)Michael Lingelbach2021-12-231-4/+20
|
* fix: internally use forward delineated paths cross-platform (#1593)Michael Lingelbach2021-12-231-7/+9
| | | | * Escape paths used to autocommands * Always normalize windows path to forward slash for internal use
* chore: fix missing [lspconfig] prefix for vim.notify (#1546)William Boman2021-12-061-1/+1
|
* chore: prefix all vim.notify message with [lspconfig] (#1496)William Boman2021-11-271-2/+6
|
* chore: clean up importsMichael Lingelbach2021-11-251-1/+1
|
* chore: format with stylua (#1457)Michael Lingelbach2021-11-191-4/+6
|
* chore: internally switch to sending workspaceFolders (#1453)Michael Lingelbach2021-11-191-0/+4
|
* fix: support single file mode when no default root pattern setMichael Lingelbach2021-11-151-3/+11
|
* feat: add single file mode (#1385)Michael Lingelbach2021-11-111-15/+34
| | | | | | | | | | | | * 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: disambiguate autostart option from function name (#1356)kylo2522021-11-081-11/+19
| | | | | | * make `config.autostart` separate from `config.launch()` * simplify handling of `config.autostart` * check for `true` instead of `not false` * replace `trigger` with the conventional `event` and `pattern`
* fix: set offset encoding by default (#1360)Michael Lingelbach2021-10-311-1/+7
| | | | | | 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.
* chore: remove modeline (#1177)Michael Lingelbach2021-08-241-1/+0
|
* fix: unsilent autocmd to print warning (#1171)Michael Lingelbach2021-08-241-2/+4
|
* feat(lspinfo): display autostart status (#964)Matthieu Coudron2021-08-061-0/+1
|
* feat: added global on_setup hookFolke Lemaitre2021-07-191-0/+4
|
* fix: expose get_root_dir instead of config.root_dirFolke Lemaitre2021-07-191-1/+1
|
* chore: change stylua to single quotes (#1068)Michael Lingelbach2021-07-131-29/+29
|
* fix: do not attach server if buftype is 'nofile' (#1064)Michael Lingelbach2021-07-121-3/+3
| | | | * match buftype instead of filetype against 'nofile' * clarify variable naming to make buffer filetype clear from buftype
* fix: check client is not nil in _setup_buffer()Christian Chiarulli2021-07-041-0/+3
| | | Co-authored-by: christianchiarulli <chrisatmachine@gmail.com>
* fix: be less strict about cmd validationMichael Lingelbach2021-07-031-1/+1
| | | | Some language servers lazily build cmd based on a parameter passed to setup, like powershell_es. We should change this eventually, but for now be less strict.
* ci: lint and format with styluaMichael Lingelbach2021-07-031-44/+46
|
* fix: validate cmd is of type tableMichael Lingelbach2021-07-031-0/+1
|
* bug: bufnr not passed to on_attachMichaƂ Nowotnik2021-04-201-1/+2
|
* autostart: print error when root directory nilMichael Lingelbach2021-04-091-0/+4
|
* Remove duplicated tbl_deep_extendMichael Lingelbach2021-03-281-4/+4
|
* Automatically reattach to buffers after reloadingMichael Lingelbach2021-02-171-0/+7
|
* Merge pull request #738 from mjlbach/fix_autostartMichael Lingelbach2021-02-171-1/+1
|\ | | | | rename launch -> autostart, add documentation
| * rename launch -> autostart, add documentationMichael Lingelbach2021-02-171-1/+1
| |
* | Merge pull request #721 from mjlbach/disable_autostartMichael Lingelbach2021-02-171-9/+37
|\| | | | | Add option to disable autostart
| * Add option to disable autostartMichael Lingelbach2021-02-161-9/+37
| |
* | fix on_attach to correctly pass bufnr as second argumentMichael Lingelbach2021-02-141-3/+3
|/
* remove client/registerCapability handlerMichael Lingelbach2021-01-251-20/+0
|
* Merge pull request #509 from mjlbach/remove_deprecated_handlersMichael Lingelbach2021-01-151-36/+0
|\ | | | | Remove deprecated handlers
| * remove deprecated handlers that were moved to neovim coreMichael Lingelbach2021-01-081-36/+0
| |
* | Fix root detection for LspInfo, cache setupMichael Lingelbach2021-01-141-0/+6
|/
* Add catch-all callback for client/registerCapabilityMichael Lingelbach2020-12-221-0/+13
|
* Re-add negation after automated commitIron_E2020-11-151-1/+1
|
* Update lua/lspconfig/configs.luaIron-E2020-11-151-1/+1
| | | Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* Remove redundant assertionIron_E2020-11-151-2/+1
|
* Use 'not config.callbacks' over 'not lsp.callbacks'Iron_E2020-11-151-1/+1
|
* Put assertion within function scopeIron_E2020-11-151-3/+1
|
* Move no callbacks assertion to outer scopeIron_E2020-11-151-1/+3
|
* Add help reference for failed callback assertionIron_E2020-11-151-2/+2
|
* Change the rest of the callback usagesIron_E2020-11-151-11/+11
|
* Rename nvim_lsp to lspconfigHirokazu Hata2020-09-061-0/+214