Skip to content

Commit

Permalink
feat: add digestif support (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir authored Apr 22, 2023
1 parent eddaef9 commit 156ba55
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions lua/lspconfig/server_configurations/digestif.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local util = require 'lspconfig.util'

local bin_name = 'digestif'
local cmd = { bin_name }

if vim.fn.has 'win32' == 1 then
cmd = { 'cmd.exe', '/C', bin_name }
end

return {
default_config = {
cmd = cmd,
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.
]],
},
}

0 comments on commit 156ba55

Please sign in to comment.