new: nvim: add none-ls

This commit is contained in:
qwjyh 2024-03-31 14:55:36 +09:00
parent 13d4d48a4e
commit 4d44aa1a6d

View file

@ -123,6 +123,12 @@ require('lazy').setup({
'nvim-lua/plenary.nvim' 'nvim-lua/plenary.nvim'
}, },
}, },
{
'nvimtools/none-ls.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
},
{ {
'folke/trouble.nvim', 'folke/trouble.nvim',
-- config = function -- config = function
@ -631,6 +637,14 @@ for _, ls in pairs(lss) do
} }
end end
-- none-ls
local null_ls = require('null-ls')
null_ls.setup {
sources = {
null_ls.builtins.diagnostics.fish,
}
}
-- nvim-cmp setup -- nvim-cmp setup
local cmp = require 'cmp' local cmp = require 'cmp'
local luasnip = require 'luasnip' local luasnip = require 'luasnip'