diff options
| author | DefaultGen <gravel.justness270@slmail.me> | 2024-06-09 03:48:26 -0400 |
|---|---|---|
| committer | DefaultGen <gravel.justness270@slmail.me> | 2024-06-09 03:48:26 -0400 |
| commit | 38738a6527d2d571d149bda36e74bdb9e2f0743c (patch) | |
| tree | e553cb718a2ac5b80a64a38da3fe70b9d1752137 /lua/simple-denote.lua | |
| parent | 15389262bfb4ba280fc1aa1b0dd688947aa00f80 (diff) | |
| download | simple-denote.nvim-38738a6527d2d571d149bda36e74bdb9e2f0743c.tar.gz | |
Added cursed search function
Diffstat (limited to 'lua/simple-denote.lua')
| -rw-r--r-- | lua/simple-denote.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/simple-denote.lua b/lua/simple-denote.lua index 3f199fe..12ba1f6 100644 --- a/lua/simple-denote.lua +++ b/lua/simple-denote.lua @@ -1,7 +1,8 @@ local M = {} -local api = require("simple-denote.api") local config = require("simple-denote.config") +local api = require("simple-denote.api") +local search = require ("simple-denote.search") function M.load_cmd(options) vim.api.nvim_create_user_command("Denote", function(opts) @@ -13,6 +14,10 @@ function M.load_cmd(options) api.tag(options) elseif opts.fargs[1] == "signature" then api.signature(options) + elseif opts.fargs[1] == "search" then + search.search(options) + elseif opts.fargs[1] == "test" then + search.test() else error("Unsupported operation " .. opts.fargs[1]) end |
