aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/note.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/note.lua')
-rw-r--r--lua/plugins/note.lua32
1 files changed, 0 insertions, 32 deletions
diff --git a/lua/plugins/note.lua b/lua/plugins/note.lua
deleted file mode 100644
index e2b5db3..0000000
--- a/lua/plugins/note.lua
+++ /dev/null
@@ -1,32 +0,0 @@
-return {
- {
- "jellydn/my-note.nvim",
- dependencies = { "MunifTanjim/nui.nvim" },
- keys = {
- {
- "<leader>mn",
- "<cmd>MyNote<cr>",
- desc = "Open MyNote",
- },
- {
- "<leader>mg",
- "<cmd>MyNote global<cr>",
- desc = "Open MyNote Global",
- },
- },
- opts = {
- files = {
- -- Using the parent .git folder as the cwd
- cwd = function()
- local bufPath = vim.api.nvim_buf_get_name(0)
- -- Use native vim.fs.find instead of lspconfig.util
- local cwd = vim.fs.find(".git", {
- path = bufPath,
- upward = true,
- })[1]
- return cwd and vim.fs.dirname(cwd) or vim.fn.getcwd()
- end,
- },
- },
- },
-}