summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/plugins/cspell.lua
blob: 72933269a41dcf5a4d500b1071ebbec925a4fba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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,
  }
}