aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/markdown_oxide.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/markdown_oxide.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/markdown_oxide.lua')
-rw-r--r--lsp/markdown_oxide.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lsp/markdown_oxide.lua b/lsp/markdown_oxide.lua
index 5059363b..79b11913 100644
--- a/lsp/markdown_oxide.lua
+++ b/lsp/markdown_oxide.lua
@@ -13,17 +13,17 @@ return {
filetypes = { 'markdown' },
cmd = { 'markdown-oxide' },
on_attach = function()
- vim.api.nvim_buf_create_user_command(0, 'Today', function()
+ vim.api.nvim_buf_create_user_command(0, 'LspToday', function()
vim.lsp.buf.execute_command { command = 'jump', arguments = { 'today' } }
end, {
desc = "Open today's daily note",
})
- vim.api.nvim_buf_create_user_command(0, 'Tomorrow', function()
+ vim.api.nvim_buf_create_user_command(0, 'LspTomorrow', function()
vim.lsp.buf.execute_command { command = 'jump', arguments = { 'tomorrow' } }
end, {
desc = "Open tomorrow's daily note",
})
- vim.api.nvim_buf_create_user_command(0, 'Yesterday', function()
+ vim.api.nvim_buf_create_user_command(0, 'LspYesterday', function()
vim.lsp.buf.execute_command { command = 'jump', arguments = { 'yesterday' } }
end, {
desc = "Open yesterday's daily note",