Update Obsidian config

This commit is contained in:
Martin Pander
2025-06-23 13:33:03 +02:00
parent 90b2f80c83
commit 27643e0837
2 changed files with 12 additions and 6 deletions

View File

@ -50,6 +50,7 @@ vim.opt.syntax = 'on'
vim.opt.encoding = 'utf-8'
vim.opt.completeopt = 'menu,menuone,noselect'
vim.opt.termguicolors = true
vim.opt.conceallevel = 1
----------------------------

View File

@ -41,11 +41,11 @@ cmp.setup({
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'copilot' },
{ name = 'vsnip' },
{ name = 'path' },
{ name = 'cmp_yanky' },
{ name = 'git' },
{ name = 'copilot' },
-- }, {
{ name = 'buffer', keyword_length = 2 },
}),
@ -273,12 +273,17 @@ require('gitsigns').setup {
require("obsidian").setup({
workspaces = {
{
name = "privat",
path = "~/Documents/notes/privat",
name = "work",
path = "/mnt/c/Users/marti/Documents/notes/Work",
},
{
name = "joplin",
path = "~/Documents/notes/fromjoplin",
},
ui = {
checkboxes = {
[" "] = { char = "󰄱", hl_group = "ObsidianTodo" },
[">"] = { char = "", hl_group = "ObsidianRightArrow" },
["x"] = { char = "", hl_group = "ObsidianDone" },
["~"] = { char = "󰰱", hl_group = "ObsidianTilde" },
["!"] = { char = "", hl_group = "ObsidianImportant" },
},
},
})