aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/digestif.lua
blob: 911a7c8db08b3455398e06c82c80184da4ef4616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
return {
  default_config = {
    cmd = { 'digestif' },
    filetypes = { 'tex', 'plaintex', 'context' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
    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.
]],
  },
}