diff --git a/chezmoi/dot_vale.ini b/chezmoi/dot_vale.ini new file mode 100644 index 0000000..0922530 --- /dev/null +++ b/chezmoi/dot_vale.ini @@ -0,0 +1,9 @@ +StylesPath = styles + +MinAlertLevel = suggestion +Vocab = Base + +Packages = Google, proselint, write-good, alex, Readability, Joblint + +[*] +BasedOnStyles = Vale, Google, proselint, write-good, alex, Readability, Joblint diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/config/lspinstall.lua b/chezmoi/private_dot_config/nvim/lua/plugins/config/lspinstall.lua index ae9b136..9516452 100644 --- a/chezmoi/private_dot_config/nvim/lua/plugins/config/lspinstall.lua +++ b/chezmoi/private_dot_config/nvim/lua/plugins/config/lspinstall.lua @@ -4,6 +4,12 @@ local cmp_lsp = require('cmp_nvim_lsp') local null_ls = require("null-ls") local lspconfig = require("lspconfig") +null_ls.setup({ + sources = { + null_ls.builtins.diagnostics.vale, + }, +}) + -- Use an on_attach function to only map the following keys -- after the language server attaches to the current buffer local on_attach = function(client, bufnr)