diff options
| author | William Boman <william@redwill.se> | 2022-04-21 21:36:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 21:36:13 +0200 |
| commit | d86aad85ba4adcf9abd68ad05ed475ff11756206 (patch) | |
| tree | 4808abac4edcdd70c518fd3b1006734a6eeea259 /lua | |
| parent | chore: refactor remaining installers to async impl (#616) (diff) | |
| download | mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar.gz mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar.bz2 mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar.lz mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar.xz mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.tar.zst mason-d86aad85ba4adcf9abd68ad05ed475ff11756206.zip | |
add deprecation notice to old installer modules (#618)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/installers/cargo.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/composer.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/context.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/dotnet.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/gem.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/go.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/npm.lua | 8 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/opam.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/pip3.lua | 8 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/shell.lua | 7 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/installers/std.lua | 7 |
11 files changed, 77 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/installers/cargo.lua b/lua/nvim-lsp-installer/installers/cargo.lua index 1779980b..0413b637 100644 --- a/lua/nvim-lsp-installer/installers/cargo.lua +++ b/lua/nvim-lsp-installer/installers/cargo.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.cargo", + vim.log.levels.WARN +) + local process = require "nvim-lsp-installer.process" local path = require "nvim-lsp-installer.path" diff --git a/lua/nvim-lsp-installer/installers/composer.lua b/lua/nvim-lsp-installer/installers/composer.lua index 26e4e7be..6d60e0b1 100644 --- a/lua/nvim-lsp-installer/installers/composer.lua +++ b/lua/nvim-lsp-installer/installers/composer.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.composer", + vim.log.levels.WARN +) + local installers = require "nvim-lsp-installer.installers" local std = require "nvim-lsp-installer.installers.std" local platform = require "nvim-lsp-installer.platform" diff --git a/lua/nvim-lsp-installer/installers/context.lua b/lua/nvim-lsp-installer/installers/context.lua index da002ea8..14789959 100644 --- a/lua/nvim-lsp-installer/installers/context.lua +++ b/lua/nvim-lsp-installer/installers/context.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.context", + vim.log.levels.WARN +) + local a = require "nvim-lsp-installer.core.async" local log = require "nvim-lsp-installer.log" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/dotnet.lua b/lua/nvim-lsp-installer/installers/dotnet.lua index 172cd370..2c09aed4 100644 --- a/lua/nvim-lsp-installer/installers/dotnet.lua +++ b/lua/nvim-lsp-installer/installers/dotnet.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.dotnet", + vim.log.levels.WARN +) + local installers = require "nvim-lsp-installer.installers" local std = require "nvim-lsp-installer.installers.std" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/gem.lua b/lua/nvim-lsp-installer/installers/gem.lua index c01f1449..c8d03298 100644 --- a/lua/nvim-lsp-installer/installers/gem.lua +++ b/lua/nvim-lsp-installer/installers/gem.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.gem", + vim.log.levels.WARN +) + local path = require "nvim-lsp-installer.path" local Data = require "nvim-lsp-installer.data" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/go.lua b/lua/nvim-lsp-installer/installers/go.lua index bfa7bc54..89d09f5f 100644 --- a/lua/nvim-lsp-installer/installers/go.lua +++ b/lua/nvim-lsp-installer/installers/go.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.go", + vim.log.levels.WARN +) + local std = require "nvim-lsp-installer.installers.std" local installers = require "nvim-lsp-installer.installers" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/npm.lua b/lua/nvim-lsp-installer/installers/npm.lua index 12ca407f..e436b0be 100644 --- a/lua/nvim-lsp-installer/installers/npm.lua +++ b/lua/nvim-lsp-installer/installers/npm.lua @@ -1,4 +1,10 @@ ----@deprecated Will be replaced by core.managers.npm +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.npm", + vim.log.levels.WARN +) + local path = require "nvim-lsp-installer.path" local fs = require "nvim-lsp-installer.fs" local Data = require "nvim-lsp-installer.data" diff --git a/lua/nvim-lsp-installer/installers/opam.lua b/lua/nvim-lsp-installer/installers/opam.lua index a161028a..349810ce 100644 --- a/lua/nvim-lsp-installer/installers/opam.lua +++ b/lua/nvim-lsp-installer/installers/opam.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.opam", + vim.log.levels.WARN +) + local std = require "nvim-lsp-installer.installers.std" local installers = require "nvim-lsp-installer.installers" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/pip3.lua b/lua/nvim-lsp-installer/installers/pip3.lua index 67032a40..a7c8b13c 100644 --- a/lua/nvim-lsp-installer/installers/pip3.lua +++ b/lua/nvim-lsp-installer/installers/pip3.lua @@ -1,4 +1,10 @@ ----@deprecated Will be replaced by core.managers.pip3 +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.pip3", + vim.log.levels.WARN +) + local path = require "nvim-lsp-installer.path" local Data = require "nvim-lsp-installer.data" local installers = require "nvim-lsp-installer.installers" diff --git a/lua/nvim-lsp-installer/installers/shell.lua b/lua/nvim-lsp-installer/installers/shell.lua index e9bef862..2cc8a845 100644 --- a/lua/nvim-lsp-installer/installers/shell.lua +++ b/lua/nvim-lsp-installer/installers/shell.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.shell", + vim.log.levels.WARN +) + local installers = require "nvim-lsp-installer.installers" local process = require "nvim-lsp-installer.process" diff --git a/lua/nvim-lsp-installer/installers/std.lua b/lua/nvim-lsp-installer/installers/std.lua index 34383810..9db1251c 100644 --- a/lua/nvim-lsp-installer/installers/std.lua +++ b/lua/nvim-lsp-installer/installers/std.lua @@ -1,3 +1,10 @@ +require "nvim-lsp-installer.notify"( + ( + "%s has been deprecated. See https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice" + ):format "nvim-lsp-installer.installers.std", + vim.log.levels.WARN +) + local path = require "nvim-lsp-installer.path" local fs = require "nvim-lsp-installer.fs" local process = require "nvim-lsp-installer.process" |
