From 4d44aa1a6da1983bea1af54aefd6b5d4f0c29695 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 31 Mar 2024 14:55:36 +0900 Subject: [PATCH] new: nvim: add none-ls --- dotfiles/neovim/init.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 9c46fd8..7c811d1 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -123,6 +123,12 @@ require('lazy').setup({ 'nvim-lua/plenary.nvim' }, }, + { + 'nvimtools/none-ls.nvim', + dependencies = { + 'nvim-lua/plenary.nvim', + }, + }, { 'folke/trouble.nvim', -- config = function @@ -631,6 +637,14 @@ for _, ls in pairs(lss) do } end +-- none-ls +local null_ls = require('null-ls') +null_ls.setup { + sources = { + null_ls.builtins.diagnostics.fish, + } +} + -- nvim-cmp setup local cmp = require 'cmp' local luasnip = require 'luasnip'