DEV Community

Cover image for # Use Vale Linter in LunarVim
Alexandre Liberato
Alexandre Liberato

Posted on

# Use Vale Linter in LunarVim

Use Vale Linter in LunarVim

What

Vale is a linter for prose, it's fast and customizable.

Install & Configure Vale

~/.vale.ini

StylesPath = styles

MinAlertLevel = suggestion
Vocab = Base

Packages = Google, alex

[*]
BasedOnStyles = Vale, Google, alex
Enter fullscreen mode Exit fullscreen mode

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" } },
}

Enter fullscreen mode Exit fullscreen mode

Top comments (0)