Add cord and obsidian plugins
This commit is contained in:
11
lua/plugins/cord.lua
Normal file
11
lua/plugins/cord.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"vyfor/cord.nvim",
|
||||
build = ":Cord update",
|
||||
opts = {
|
||||
text = {
|
||||
editing = "Editing a ${filetype} file",
|
||||
viewing = "Viewing a ${filetype} file",
|
||||
},
|
||||
variables = true,
|
||||
},
|
||||
}
|
||||
27
lua/plugins/obsidian.lua
Normal file
27
lua/plugins/obsidian.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
version = "*", -- recommended, use latest release instead of latest commit
|
||||
lazy = true,
|
||||
event = {
|
||||
-- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
|
||||
-- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/*.md"
|
||||
-- refer to `:h file-pattern` for more examples
|
||||
"BufReadPre /mnt/c/Users/tyler/notes/*.md",
|
||||
"BufNewFile /mnt/c/Users/tyler/notes/*.md",
|
||||
"BufReadPre " .. vim.fn.expand("~") .. "/notes/*.md",
|
||||
"BufNewFile " .. vim.fn.expand("~") .. "/notes/*.md",
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"hrsh7th/nvim-cmp",
|
||||
"ibhagwan/fzf-lua",
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
name = "notes",
|
||||
path = "~/notes",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user