Merge branch 'master' into laptop

This commit is contained in:
Thomas Avé 2024-01-29 09:54:42 +01:00
commit 4f9f338f90
1 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,7 @@ local function handle_enter()
vim.cmd("ObsidianFollowLink")
else
local line = vim.api.nvim_get_current_line()
if string.match(line, "^%s*- %[ %].*") then
if string.match(line, "^%s*- %[[x ]%].*") then
util.toggle_checkbox()
else
vim.cmd("normal! viw:'<,'>ObsidianLink")
@ -23,6 +23,14 @@ return {
name = "Lumentis",
path = "~/Workspace/DnD/Lumentis/",
},
{
name = "Notes",
path = "~/Workspace/Notes/",
},
{
name = "PhD Notes",
path = "~/Workspace/University/PhD/Notes/",
},
},
disable_frontmatter = true,
ui = {