22 lines
534 B
Lua
22 lines
534 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'digestif' },
|
||
|
filetypes = { 'tex', 'plaintex', 'context' },
|
||
|
root_dir = util.find_git_ancestor,
|
||
|
single_file_support = true,
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/astoff/digestif
|
||
|
|
||
|
Digestif is a code analyzer, and a language server, for LaTeX, ConTeXt et caterva. It provides
|
||
|
|
||
|
context-sensitive completion, documentation, code navigation, and related functionality to any
|
||
|
|
||
|
text editor that speaks the LSP protocol.
|
||
|
]],
|
||
|
},
|
||
|
}
|