aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/installers/npm.lua
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove deprecated modules (#682)William Boman2022-05-101-131/+0
| | | | - https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice - https://github.com/williamboman/nvim-lsp-installer/discussions/636
* add deprecation notice to old installer modules (#618)William Boman2022-04-211-1/+7
|
* add async managers (#536)William Boman2022-03-261-0/+1
|
* write install receipts (#379)William Boman2022-01-031-0/+5
|
* leverage PATH for locating local executables (#283)William Boman2022-01-021-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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), } }
* initial healthcheck integration (#321)William Boman2021-12-071-4/+4
|
* fix(installers/npm): dont apply global-style for standalone npm installWilliam Boman2021-12-071-27/+33
|
* installers/npm: use global style (#289)William Boman2021-11-291-10/+22
|
* run installations in tmpdir (#199)William Boman2021-10-301-9/+9
| | | Resolves #154.
* add proper emmylua annotations (#196)William Boman2021-10-251-17/+36
|
* installers/npm: don't read version from context on npm.install()William Boman2021-10-161-23/+25
|
* support installing specific version of language servers, defaults to latest ↵William Boman2021-09-291-1/+9
| | | | (#106)
* installers/npm: set package scope to avoid naming collisionsWilliam Boman2021-09-251-1/+1
|
* installers/npm: ensure local npm root dir before installing (#97)William Boman2021-09-221-12/+14
|
* ansiblels: fix install when having older npm version installedWilliam Boman2021-09-191-2/+12
|
* better error messages (#92)William Boman2021-09-161-6/+21
|
* rewrite some installers for broader cross-platform support (#85)William Boman2021-09-101-1/+23
| | | | | | | | | | - 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 fixesWilliam Boman2021-09-071-2/+2
|
* add direct integration with libuv instead of going through termopen, also ↵William Boman2021-09-071-2/+8
| | | | | | | | | 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-2/+8
|
* styluaWilliam Boman2021-08-151-2/+2
|
* npm, pip3: add executable(root_dir, executable) util functionWilliam Boman2021-07-101-0/+5
|
* add support for zx install scripts (#13)William Boman2021-05-171-0/+9