Is possible suppress 'deprecated' warning ? #382
Replies: 2 comments 1 reply
-
You config looks fine, (apart from client:vault_relative_path is also not there anymore, use Path.vault_relative_path). Maybe you have other custom stuff not shown here, like the |
Beta Was this translation helpful? Give feedback.
-
Thank you so much neo451 for your answer. You're right, I'm using config = function(_, opts)
require("obsidian").get_client().opts.ui.enable = false
-- vim.api.nvim_buf_clear_namespace(0, vim.api.nvim_get_namespaces()["ObsidianUI"], 0, -1)
require("render-markdown").setup(opts)
end, What would be the new way to achieve this, if not too much ask. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I hate this warning being showed every time I open my vault.
I am not using client. on my configuration.
I do believe is related how Lazy.vim pass the setting to obsidian.vim.
My settings are passed by opts {}
I already tried even removing some part of the configuration.
I already tried using
require("obsidian").setup{}
way to do it to avoid usingopts
option.Beta Was this translation helpful? Give feedback.
All reactions