aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/zk.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/zk.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/zk.lua')
-rw-r--r--lsp/zk.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lsp/zk.lua b/lsp/zk.lua
index 6a336b7b..f659cb25 100644
--- a/lsp/zk.lua
+++ b/lsp/zk.lua
@@ -17,7 +17,7 @@ return {
filetypes = { 'markdown' },
root_markers = { '.zk' },
on_attach = function()
- vim.api.nvim_buf_create_user_command(0, 'ZkIndex', function()
+ vim.api.nvim_buf_create_user_command(0, 'LspZkIndex', function()
vim.lsp.buf.execute_command {
command = 'zk.index',
arguments = { vim.api.nvim_buf_get_name(0) },
@@ -26,7 +26,7 @@ return {
desc = 'ZkIndex',
})
- vim.api.nvim_buf_create_user_command(0, 'ZkList', function()
+ vim.api.nvim_buf_create_user_command(0, 'LspZkList', function()
local bufpath = vim.api.nvim_buf_get_name(0)
local root = find_zk_root(bufpath)
@@ -48,7 +48,7 @@ return {
desc = 'ZkList',
})
- vim.api.nvim_buf_create_user_command(0, 'ZkNew', function(...)
+ vim.api.nvim_buf_create_user_command(0, 'LspZkNew', function(...)
vim.lsp.buf_request(0, 'workspace/executeCommand', {
command = 'zk.new',
arguments = {