aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/texlab.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/server_configurations/texlab.lua')
-rw-r--r--lua/lspconfig/server_configurations/texlab.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/lua/lspconfig/server_configurations/texlab.lua b/lua/lspconfig/server_configurations/texlab.lua
index 5200e044..36198d0a 100644
--- a/lua/lspconfig/server_configurations/texlab.lua
+++ b/lua/lspconfig/server_configurations/texlab.lua
@@ -1,17 +1,17 @@
local util = require 'lspconfig.util'
-local texlab_build_status = vim.tbl_add_reverse_lookup {
- Success = 0,
- Error = 1,
- Failure = 2,
- Cancelled = 3,
+local texlab_build_status = {
+ [0] = 'Success',
+ [1] = 'Error',
+ [2] = 'Failure',
+ [3] = 'Cancelled',
}
-local texlab_forward_status = vim.tbl_add_reverse_lookup {
- Success = 0,
- Error = 1,
- Failure = 2,
- Unconfigured = 3,
+local texlab_forward_status = {
+ [0] = 'Success',
+ [1] = 'Error',
+ [2] = 'Failure',
+ [3] = 'Unconfigured',
}
local function buf_build(bufnr)