1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48:01 +00:00

[neovim] Rename null-ls to none-ls

This commit is contained in:
Daniel Carrillo 2024-02-10 15:29:01 +01:00
parent 0440ce8dac
commit 81e4ec11d8
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
require("plugins.lsp.mason")
require("plugins.lsp.handlers").setup()
require("plugins.lsp.null-ls")
require("plugins.lsp.none-ls")
require("plugins.lsp.lsp-saga")
local win = require("lspconfig.ui.windows")

View File

@ -1,8 +1,8 @@
local null_ls = require("null-ls")
local none_ls = require("null-ls")
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/formatting
local formatting = null_ls.builtins.formatting
local formatting = none_ls.builtins.formatting
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
local diagnostics = null_ls.builtins.diagnostics
local diagnostics = none_ls.builtins.diagnostics
local revive_conf = vim.fn.findfile(os.getenv("HOME") .. "/.revive.toml")
local revive_args = { "-formatter", "json", "./..." }
@ -10,7 +10,7 @@ if revive_conf then
revive_args = { "-formatter", "json", "-config", revive_conf, "./..." }
end
null_ls.setup({
none_ls.setup({
debug = false,
sources = {
formatting.black.with({