mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: auto switch to conform if use default config language
This commit is contained in:
parent
22202bc11b
commit
fbd69d94ec
7 changed files with 295 additions and 258 deletions
|
@ -1,25 +1,28 @@
|
|||
return {
|
||||
{
|
||||
"nvimtools/none-ls.nvim",
|
||||
lazy = true,
|
||||
enabled = not (pcode.disable_null_ls or false),
|
||||
dependencies = {
|
||||
{
|
||||
"jayp0521/mason-null-ls.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
ensure_installed = pcode.null_ls_ensure_installed or {},
|
||||
automatic_setup = true,
|
||||
handlers = {},
|
||||
local M = {}
|
||||
if not (pcode.disable_null_ls or false) then
|
||||
M = {
|
||||
{
|
||||
"nvimtools/none-ls.nvim",
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
{
|
||||
"jayp0521/mason-null-ls.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
ensure_installed = pcode.null_ls_ensure_installed or {},
|
||||
automatic_setup = true,
|
||||
handlers = {},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("mason-null-ls").setup(opts)
|
||||
end,
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("mason-null-ls").setup(opts)
|
||||
end,
|
||||
"nvimtools/none-ls-extras.nvim",
|
||||
},
|
||||
"nvimtools/none-ls-extras.nvim",
|
||||
event = "InsertEnter",
|
||||
opts = {},
|
||||
config = true,
|
||||
},
|
||||
event = "InsertEnter",
|
||||
opts = {},
|
||||
config = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
end
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue