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)

Find what you were looking for? Sign up so you can:

Β 
🌚 Enable dark mode
πŸ”  Change your default font
πŸ“š Adjust your experience level to see more relevant content