summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lsp/texlab.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim/lsp/texlab.fnl')
-rw-r--r--dot_config/nvim/lsp/texlab.fnl5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/nvim/lsp/texlab.fnl b/dot_config/nvim/lsp/texlab.fnl
new file mode 100644
index 0000000..2a7e08a
--- /dev/null
+++ b/dot_config/nvim/lsp/texlab.fnl
@@ -0,0 +1,5 @@
+{:cmd [:texlab :run]
+ :filetypes [:plaintex :tex :bib :latex]
+ ; if there's no main then it's probably an external project
+ ; realistically, I have a tendency to use a different editor for these anyway
+ :root_markers [:main.latex :main.tex]}