mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2026-05-09 18:46:10 +02:00
feat(vale_ls): add reStructuredText to filetypes (#3439)
Vale supports parsing reStructuredText files, as documented here: https://vale.sh/docs/topics/scoping/#restructuredtext It uses rst2html in the background. Signed-off-by: Antonin Godard <antoningodard@pm.me>
This commit is contained in:
parent
87c7c83ce6
commit
a40c2fde8d
@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
|
||||
return {
|
||||
default_config = {
|
||||
cmd = { 'vale-ls' },
|
||||
filetypes = { 'markdown', 'text', 'tex' },
|
||||
filetypes = { 'markdown', 'text', 'tex', 'rst' },
|
||||
root_dir = util.root_pattern '.vale.ini',
|
||||
single_file_support = true,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user