Use Vale Linter in LunarVim
What
Vale is a linter for prose, it's fast and customizable.
Install & Configure Vale
- Dowloand it's binary from https://github.com/errata-ai/vale/releases.
- Put it in your PATH
- Create a conf file
~/.vale.ini
StylesPath = styles
MinAlertLevel = suggestion
Vocab = Base
Packages = Google, alex
[*]
BasedOnStyles = Vale, Google, alex
Custom configuration: https://vale.sh/generator/
Configure LunarVim
- Edit your ~/.config/lvim/config.lua
-- -- set additional linters
local linters = require "lvim.lsp.null-ls.linters"
linters.setup {
{ command = "vale", filetypes = { "golang", "go" } },
}
Top comments (0)