summaryrefslogtreecommitdiff
path: root/lua/plugins/misc.lua
diff options
context:
space:
mode:
authorbee <beebeeb5k@gmail.com>2026-05-05 22:37:10 +0530
committerbee <beebeeb5k@gmail.com>2026-05-05 22:37:10 +0530
commit9365a8e96827cbf7bc5adad6d29bcd05b4d761b2 (patch)
tree0998a5dcfc4517e4112a2c589e04ac0dbc1e011b /lua/plugins/misc.lua
parent0c50f17133b90c60735f1f51943f51f60372bdd3 (diff)
Migrate from nixcats to nix-wrapper-modules
Diffstat (limited to 'lua/plugins/misc.lua')
-rw-r--r--lua/plugins/misc.lua50
1 files changed, 0 insertions, 50 deletions
diff --git a/lua/plugins/misc.lua b/lua/plugins/misc.lua
deleted file mode 100644
index 37185ae..0000000
--- a/lua/plugins/misc.lua
+++ /dev/null
@@ -1,50 +0,0 @@
-return {
- {
- "obsidian.nvim",
- for_cats = "misc",
- event = {
- "BufReadPre " .. vim.fn.expand("~") .. "/Notes/**/*.md",
- "BufNewFile " .. vim.fn.expand("~") .. "/Notes/**/*.md",
- },
- after = function()
- require("obsidian").setup({
- legacy_commands = false,
- workspaces = {
- {
- name = "personal",
- path = "~/Notes",
- },
- },
- })
- end,
- },
- {
- "typst-preview.nvim",
- ft = "typst",
- for_cats = "misc",
- after = function()
- require("typst-preview").setup({
- debug = false,
- open_cmd = nil,
- port = nil,
- invert_colors = "never",
- follow_cursor = true,
- dependencies_bin = {
- tinymist = "tinymist",
- websocat = "websocat",
- },
- extra_args = nil,
- get_root = function(path_of_main_file)
- local root = os.getenv("TYPST_ROOT")
- if root then
- return root
- end
- return vim.fn.fnamemodify(path_of_main_file, ":p:h")
- end,
- get_main_file = function(path_of_buffer)
- return path_of_buffer
- end,
- })
- end,
- },
-}