aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/path.lua
Commit message (Collapse)AuthorAgeFilesLines
* chore: further decouple module structure (#685)William Boman2022-05-111-36/+0
|
* add async managers (#536)William Boman2022-03-261-0/+2
|
* leverage PATH for locating local executables (#283)William Boman2022-01-021-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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), } }
* add some tests (#360)William Boman2021-12-251-1/+1
|
* add proper emmylua annotations (#196)William Boman2021-10-251-0/+2
|
* add setting for configuring server install dir (#166)William Boman2021-10-171-2/+0
|
* add Windows support (#70)William Boman2021-09-011-2/+3
|
* fs: assert unsafe operations are run on safe paths onlyWilliam Boman2021-08-151-0/+6
|
* styluaWilliam Boman2021-08-151-11/+11
|
* add support for zx install scripts (#13)William Boman2021-05-171-0/+38