diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/markdown_oxide.lua | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/lua/lspconfig/server_configurations/markdown_oxide.lua b/lua/lspconfig/server_configurations/markdown_oxide.lua index 3fbecee7..13882dce 100644 --- a/lua/lspconfig/server_configurations/markdown_oxide.lua +++ b/lua/lspconfig/server_configurations/markdown_oxide.lua @@ -11,12 +11,32 @@ return { description = [[ https://github.com/Feel-ix-343/markdown-oxide -Let's record your consciousness! Bring your own text editor! -Implemented as a language server compatible with any text -editor, Markdown-Oxide is attempting to be the best PKM -system for software enthusiasts. +Editor Agnostic PKM: you bring the text editor and we +bring the PKM. -Check the readme to see how to properly setup nvim-cmp. +Inspired by and compatible with Obsidian. + +Check the readme to see how to properly setup. ]], }, + commands = { + Today = { + function() + vim.lsp.buf.execute_command { command = 'jump', arguments = { 'today' } } + end, + description = "Open today's daily note", + }, + Tomorrow = { + function() + vim.lsp.buf.execute_command { command = 'jump', arguments = { 'tomorrow' } } + end, + description = "Open tomorrow's daily note", + }, + Yesterday = { + function() + vim.lsp.buf.execute_command { command = 'jump', arguments = { 'yesterday' } } + end, + description = "Open yesterday's daily note", + }, + }, } |
