Skip to content

Commit b2d3c52

Browse files
committed
feat(lsp/vale-ls): Add asciidoc filetype
1 parent 336b388 commit b2d3c52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lsp/vale_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
---@type vim.lsp.Config
88
return {
99
cmd = { 'vale-ls' },
10-
filetypes = { 'markdown', 'text', 'tex', 'rst' },
10+
filetypes = { 'asciidoc', 'markdown', 'text', 'tex', 'rst' },
1111
root_markers = { '.vale.ini' },
1212
}

lua/lspconfig/configs/vale_ls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
33
return {
44
default_config = {
55
cmd = { 'vale-ls' },
6-
filetypes = { 'markdown', 'text', 'tex', 'rst' },
6+
filetypes = { 'asciidoc', 'markdown', 'text', 'tex', 'rst' },
77
root_dir = util.root_pattern '.vale.ini',
88
single_file_support = true,
99
},

0 commit comments

Comments
 (0)