aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-13 13:46:04 -0800
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-13 13:46:04 -0800
commite06865eb3e045ce95760aa031729d17edd461ab5 (patch)
tree4558d874bca4ca6b155769a7de432dceaa2a9cd0 /lua
parentImprove skeleton (diff)
downloadnvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar.gz
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar.bz2
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar.lz
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar.xz
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.tar.zst
nvim-lspconfig-e06865eb3e045ce95760aa031729d17edd461ab5.zip
Remove print statement.
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