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