From f7983ed604f7d4a5330cbb20ce499a260af377a2 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 24 Sep 2024 12:10:40 +0100 Subject: Cspell plugin --- neovim/.config/nvim/lua/plugins/cspell.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 neovim/.config/nvim/lua/plugins/cspell.lua (limited to 'neovim/.config/nvim') diff --git a/neovim/.config/nvim/lua/plugins/cspell.lua b/neovim/.config/nvim/lua/plugins/cspell.lua new file mode 100644 index 0000000..7293326 --- /dev/null +++ b/neovim/.config/nvim/lua/plugins/cspell.lua @@ -0,0 +1,19 @@ +return { + { + 'nvimtools/none-ls.nvim', + dependencies = { + { + 'davidmh/cspell.nvim', + }, + }, + config = function () + local cspell = require('cspell') + require('null-ls').setup { + sources = { + cspell.diagnostics, + cspell.code_actions, + } + } + end, + } +} -- cgit v1.2.3