mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 17:28:01 +00:00
[neovim] Rename null-ls to none-ls
This commit is contained in:
parent
0440ce8dac
commit
81e4ec11d8
@ -1,6 +1,6 @@
|
|||||||
require("plugins.lsp.mason")
|
require("plugins.lsp.mason")
|
||||||
require("plugins.lsp.handlers").setup()
|
require("plugins.lsp.handlers").setup()
|
||||||
require("plugins.lsp.null-ls")
|
require("plugins.lsp.none-ls")
|
||||||
require("plugins.lsp.lsp-saga")
|
require("plugins.lsp.lsp-saga")
|
||||||
|
|
||||||
local win = require("lspconfig.ui.windows")
|
local win = require("lspconfig.ui.windows")
|
||||||
|
@ -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
|
-- 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
|
-- 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_conf = vim.fn.findfile(os.getenv("HOME") .. "/.revive.toml")
|
||||||
local revive_args = { "-formatter", "json", "./..." }
|
local revive_args = { "-formatter", "json", "./..." }
|
||||||
@ -10,7 +10,7 @@ if revive_conf then
|
|||||||
revive_args = { "-formatter", "json", "-config", revive_conf, "./..." }
|
revive_args = { "-formatter", "json", "-config", revive_conf, "./..." }
|
||||||
end
|
end
|
||||||
|
|
||||||
null_ls.setup({
|
none_ls.setup({
|
||||||
debug = false,
|
debug = false,
|
||||||
sources = {
|
sources = {
|
||||||
formatting.black.with({
|
formatting.black.with({
|
Loading…
Reference in New Issue
Block a user