🚀 perf(nvim): disable obsidian extra loading on filetype and now loads when opening your specific vault folder
This commit is contained in:
parent
bb5bd0a9d7
commit
0516cf91ae
1 changed files with 4 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue