summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua
new file mode 100644
index 0000000..f89ba63
--- /dev/null
+++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/digestif.lua
@@ -0,0 +1,21 @@
+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.
+]],
+ },
+}