summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2024-09-24 12:10:40 +0100
committerMichaël Ball <michael.ball@krotosaudio.com>2024-09-24 12:10:40 +0100
commitf7983ed604f7d4a5330cbb20ce499a260af377a2 (patch)
tree71525e66a4430993b3017ba6da16494493c95818 /neovim/.config/nvim/lua
parent848bf94fc7c3f50d793e3240d5d668856846fb41 (diff)
Cspell plugin
Diffstat (limited to 'neovim/.config/nvim/lua')
-rw-r--r--neovim/.config/nvim/lua/plugins/cspell.lua19
1 files changed, 19 insertions, 0 deletions
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,
+ }
+}