aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* mason.nvimWilliam Boman2022-07-071-182/+0
|
* docs: remove nvim-lsp-installer.servers helptag (#755)William Boman2022-06-061-1/+0
| | | | All interactions from userland should preferably go through require("nvim-lsp-installer").
* chore: further decouple module structure (#685)William Boman2022-05-111-70/+7
|
* chore: remove deprecation notificationsWilliam Boman2022-05-111-4/+0
| | | | | These methods are still deprecated, but will remain until a substitute is implemented and available.
* chore: remove deprecated modules (#682)William Boman2022-05-101-70/+29
| | | | - https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice - https://github.com/williamboman/nvim-lsp-installer/discussions/636
* feat: integrate with lspconfig's on_setup hook (#631)William Boman2022-04-271-0/+4
| | | | | | | | | | | | | | | | | | | | * feat: integrate with lspconfig's on_setup hook * fix!: don't use aliased installation directories if new .setup() fn is used This makes it so servers are always installed in a directory name that corresponds with the server name. The reason aliased installation directories is supported is lost on me, but it's legacy and complicates things unnecessarily. This is a breaking change for users who previously were using the `.on_server_ready()` hook, and now transitioned to setting up servers directly via lspconfig. These users will need to reinstall the server. * fix: block usage of the deprecated server:setup() method if new setup method is used * fix: allow passing no arg to setup() * docs: ok final.v3 readme
* switch majority of installers to async implementation (#574)William Boman2022-04-061-36/+62
|
* run server installation in async execution context (#525)William Boman2022-03-061-45/+36
|
* feat(ui): display outdated servers (#395)William Boman2022-01-061-3/+20
|
* write install receipts (#379)William Boman2022-01-031-0/+18
|
* leverage PATH for locating local executables (#283)William Boman2022-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. This is a breaking change for the following servers, which will have to be reinstalled: - ltex - clangd 2. This is a breaking change for users who reach into the default options (for example via server:get_default_options()) to access the `cmd` property. nvim-lsp-installer no longer provides the `cmd` (except in a few instances), but instead provides an amended PATH which allows neovim's LSP client to locate the locally installed executable. To access the `cmd`, simply access it via lspconfig instead, for example like so: local default_config = require("lspconfig.server_configurations.rust_analyzer").default_config print("I can now access the cmd governed by lspconfig:", default_config.cmd) 3. This is a breaking change for 3rd party use cases that makes use of the `executable()` APIs (e.g., `npm.executable(root_dir, "tsserver")`). The recommended usage is to instead to use the canonical name of the command ("tsserver"), while providing an amended PATH, for example: local npm = require("nvim-lsp-installer.installers.npm") local server = server.Server:new { ..., root_dir = root_dir, installer = npm.packages { "tsserver" }, default_options = { cmd = { "tsserver" }, cmd_env = npm.env(root_dir), } }
* feat(ui): display interactive server settings schema table (#363)William Boman2021-12-291-0/+5
|
* add ccls (#299)William Boman2021-12-051-0/+7
|
* server: always delete the tmp install dir if installation failsWilliam Boman2021-12-021-2/+7
|
* server: add {version} param to server:install()William Boman2021-11-171-2/+3
|
* remove {pre,post}_setup functions (#250)William Boman2021-11-081-13/+1
|
* add language aliases to :LspInstall (#232)William Boman2021-11-061-1/+3
|
* fix attaching servers with no filetypes defined (#237)William Boman2021-11-031-2/+7
|
* server: remove context.install_dir if installation failsWilliam Boman2021-10-311-0/+1
|
* pip3: promote install_dir to server's root dir immediately (#230)William Boman2021-10-311-42/+45
|
* respect autostart setting (#228)William Boman2021-10-311-1/+3
| | | Fixes #227.
* server: add attach_buffers() method (#220)William Boman2021-10-311-2/+21
|
* fix(server): only manually create final install dir on unix systemsWilliam Boman2021-10-301-8/+20
|
* colocate tmpdir with the server's install dir to avoid cross-fs issues (#217)William Boman2021-10-301-26/+26
| | | Fixes #215.
* server: add :on_ready() method (#214)William Boman2021-10-301-0/+14
|
* more error loggingWilliam Boman2021-10-301-0/+1
|
* add more error logsWilliam Boman2021-10-301-0/+8
|
* run installations in tmpdir (#199)William Boman2021-10-301-22/+49
| | | Resolves #154.
* fix incorrect emmylua docstringWilliam Boman2021-10-281-1/+1
|
* add synchronous variants of commands for better headless interop (#189)William Boman2021-10-261-0/+6
|
* add proper emmylua annotations (#196)William Boman2021-10-251-25/+16
|
* add suggestion to error messageWilliam Boman2021-10-201-1/+5
|
* feat: autogen metadata table(s) (#159)kylo2522021-10-181-0/+10
| | | Co-authored-by: William Boman <william@redwill.se>
* add eslint, deprecate eslintls (#149)William Boman2021-10-141-0/+1
|
* add keybindings to UI window (#140)William Boman2021-10-101-0/+4
| | | | | | | | | | | | | | | - Allows for expanding servers to view more information about it. - Allows for installing/reinstalling/uninstalling servers. The default keybindings is an attempt to mimic vim-fugitive's :Git maps, and these can be overriden. The keybinding implementation in display.lua is a bit hacky, but it works and the "public" API is at least manageable. This will also open up for adding more metadata in the future, such as filetype information, currently installed version, latest available version, etc. Also there's Cowth Vader.
* lemminx: fix std.rename callWilliam Boman2021-10-061-0/+1
|
* add ltex (#134)William Boman2021-10-051-0/+3
|
* fix newlines in stdout/stderr calls, more robust error handling (#114)William Boman2021-10-011-2/+9
|
* support installing specific version of language servers, defaults to latest ↵William Boman2021-09-291-3/+3
| | | | (#106)
* optimize io (70%+ startup speedups) (#93)William Boman2021-09-171-7/+6
|
* eslintls: fix setting up a reinstallation of the serverWilliam Boman2021-09-101-3/+8
|
* rewrite some installers for broader cross-platform support (#85)William Boman2021-09-101-28/+15
| | | | | | | | | | - Remove all usage of zx in favour of native Lua (via libuv) - Introduce new set of `std` installers The following servers will have to be reinstalled due to this change: 1. clangd 2. solargraph 3. sumneko_lua 4. tailwindcss
* some cleanupWilliam Boman2021-09-071-1/+3
|
* add direct integration with libuv instead of going through termopen, also ↵William Boman2021-09-071-14/+24
| | | | | | | | | implement a UI (#79) * add direct integration with libuv instead of going through termopen, also implement a UI * alleged free perf boosts yo that's free cycles
* add Windows support (#70)William Boman2021-09-011-1/+1
|
* eslintls: defer registering server definition with lspconfig (#62)William Boman2021-08-231-0/+7
| | | Resolves #61.
* add new on_server_ready() API (#56)William Boman2021-08-181-0/+2
|
* add tflint (#52)William Boman2021-08-171-0/+9
| | | | | * add tflint * Update lua/nvim-lsp-installer/servers/tflint/init.lua
* improve messagesWilliam Boman2021-08-161-2/+2
|
* fs: assert unsafe operations are run on safe paths onlyWilliam Boman2021-08-151-1/+1
|