mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
Added obsidian.nvim
This commit is contained in:
22
.config/nvim/after/plugin/snacks.lua
Normal file
22
.config/nvim/after/plugin/snacks.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
require("snacks").setup {
|
||||
image = {
|
||||
enabled = true,
|
||||
resolve = function(path, src)
|
||||
local api = require "obsidian.api"
|
||||
if api.path_is_note(path) then
|
||||
return api.resolve_attachment_path(src)
|
||||
end
|
||||
end
|
||||
},
|
||||
indent = {
|
||||
enabled = true,
|
||||
indent = {
|
||||
enabled = true,
|
||||
char = "┆"
|
||||
},
|
||||
scope = {
|
||||
enabled = true,
|
||||
char = "│"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user