Skip to content

Commit

Permalink
feat(nvim): add cspell code actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroSuero committed Sep 10, 2024
1 parent ecc52d6 commit 67318cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/neovim/files/lua/custom/plugins/lsp/none-ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ return {
},
-- code_actions
code_actions.refactoring,
cspell.code_actions.with {
condition = function(utils)
return utils.root_has_file { "cspell.json", ".cspell.json" }
end,
},
-- require "none-ls.diagnostics.stylua",
require("none-ls.code_actions.eslint_d").with {
condition = function(utils)
Expand Down

0 comments on commit 67318cf

Please sign in to comment.