aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/common_lsp/texlab.lua2
-rw-r--r--lua/common_lsp/util.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/common_lsp/texlab.lua b/lua/common_lsp/texlab.lua
index 592e0499..edf05c38 100644
--- a/lua/common_lsp/texlab.lua
+++ b/lua/common_lsp/texlab.lua
@@ -113,6 +113,8 @@ M.commands = {
M.buf_build(0)
end;
};
+ -- TexlabCancelAllBuilds = {
+ -- };
}
function M._setup_buffer()
diff --git a/lua/common_lsp/util.lua b/lua/common_lsp/util.lua
index 1aebbfb6..6da2db1c 100644
--- a/lua/common_lsp/util.lua
+++ b/lua/common_lsp/util.lua
@@ -83,9 +83,7 @@ function M.create_module_commands(module_name, commands)
-- The command definition.
table.insert(parts,
string.format("lua require'common_lsp/%s'.commands[%q][1]()", module_name, command_name))
- local command = table.concat(parts, " ")
- print(command)
- api.nvim_command(command)
+ api.nvim_command(table.concat(parts, " "))
end
end