forked from obsidian-nvim/obsidian.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminimal.lua
More file actions
58 lines (49 loc) 路 1.39 KB
/
Copy pathminimal.lua
File metadata and controls
58 lines (49 loc) 路 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system "curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua")()
vim.fn.mkdir(".repro/vault", "p")
vim.o.conceallevel = 2
local cwd = vim.uv.cwd()
local plugins = {
{
"obsidian-nvim/obsidian.nvim",
dir = cwd,
opts = {
legacy_commands = false,
workspaces = {
{
name = "test",
path = vim.fs.joinpath(cwd, ".repro", "vault"),
},
},
},
},
-- **Choose your renderer**
-- { "MeanderingProgrammer/render-markdown.nvim", dependencies = { "echasnovski/mini.icons" }, opts = {} },
-- { "OXY2DEV/markview.nvim", lazy = false },
-- **Choose your picker**
-- "nvim-telescope/telescope.nvim",
-- { "folke/snacks.nvim", opts = { picker = { enabled = true } } },
-- "ibhagwan/fzf-lua",
-- "echasnovski/mini.pick",
-- **Choose your completion engine**
-- {
-- "hrsh7th/nvim-cmp",
-- config = function()
-- local cmp = require "cmp"
-- cmp.setup {
-- mapping = cmp.mapping.preset.insert {
-- ["<C-e>"] = cmp.mapping.abort(),
-- ["<C-y>"] = cmp.mapping.confirm { select = true },
-- },
-- }
-- end,
-- },
{
"saghen/blink.cmp",
opts = {
fuzzy = { implementation = "lua" }, -- no need to build binary
},
},
}
require("lazy.minit").repro { spec = plugins }
vim.cmd "checkhealth obsidian"