aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/texlab.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-21 18:45:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-04-21 18:47:01 +0200
commitd1796795ddcb75dcdf8fc172504ef72fb6e32cb9 (patch)
tree985db097ece9dc4ca2b4e0aa3c6cdfa511c855eb /lsp/texlab.lua
parentci(lint): enforce "Lsp" command name prefix (diff)
downloadnvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar.gz
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar.bz2
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar.lz
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar.xz
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.tar.zst
nvim-lspconfig-d1796795ddcb75dcdf8fc172504ef72fb6e32cb9.zip
fix: use "Lsp" prefix for config-defined commands
Diffstat (limited to 'lsp/texlab.lua')
-rw-r--r--lsp/texlab.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/lsp/texlab.lua b/lsp/texlab.lua
index f4be0f51..8123d5b7 100644
--- a/lsp/texlab.lua
+++ b/lsp/texlab.lua
@@ -193,28 +193,28 @@ return {
},
},
on_attach = function()
- vim.api.nvim_buf_create_user_command(0, 'TexlabBuild', client_with_fn(buf_build), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabBuild', client_with_fn(buf_build), {
desc = 'Build the current buffer',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabForward', client_with_fn(buf_search), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabForward', client_with_fn(buf_search), {
desc = 'Forward search from current position',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabCancelBuild', client_with_fn(buf_cancel_build), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabCancelBuild', client_with_fn(buf_cancel_build), {
desc = 'Cancel the current build',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabDependencyGraph', client_with_fn(dependency_graph), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabDependencyGraph', client_with_fn(dependency_graph), {
desc = 'Show the dependency graph',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabCleanArtifacts', client_with_fn(command_factory('Artifacts')), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabCleanArtifacts', client_with_fn(command_factory('Artifacts')), {
desc = 'Clean the artifacts',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabCleanAuxiliary', client_with_fn(command_factory('Auxiliary')), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabCleanAuxiliary', client_with_fn(command_factory('Auxiliary')), {
desc = 'Clean the auxiliary files',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabFindEnvironments', client_with_fn(buf_find_envs), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabFindEnvironments', client_with_fn(buf_find_envs), {
desc = 'Find the environments at current position',
})
- vim.api.nvim_buf_create_user_command(0, 'TexlabChangeEnvironment', client_with_fn(buf_change_env), {
+ vim.api.nvim_buf_create_user_command(0, 'LspTexlabChangeEnvironment', client_with_fn(buf_change_env), {
desc = 'Change the environment at current position',
})
end,