🚀 perf(nvim): disable obsidian extra loading on filetype and now loads when opening your specific vault folder

This commit is contained in:
Sergio Laín 2024-02-26 11:15:29 +01:00
parent bb5bd0a9d7
commit 0516cf91ae
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,6 +1,8 @@
return { return {
"epwalsh/obsidian.nvim", "epwalsh/obsidian.nvim",
ft = "markdown", event = {
"BufReadPre " .. vim.fn.expand("~") .. "/Documentos/Obsidian/obsidianVault/**.md",
},
keys = { keys = {
{ {
"gf", "gf",
@ -19,6 +21,7 @@ return {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
"nvim-treesitter/nvim-treesitter",
}, },
opts = { opts = {
workspaces = { workspaces = {