Update obsidian config and markdown config

This commit is contained in:
ViViDboarder 2024-11-22 11:11:03 -08:00
parent 58920c164c
commit 5846ee9383
3 changed files with 20 additions and 1 deletions

View File

@ -1,7 +1,15 @@
" Set Markdown indent to 2 so single indented text doesn't become 'code' " Set Markdown indent to 2 so single indented text doesn't become 'code'
set shiftwidth=2 set shiftwidth=2
" From plasticboy/vim-markdown via sheerun/vim-polyglot " Enable conceal feature
set conceallevel=2
" Enable fenced code blocks
let g:vim_markdown_fenced_languages = ['html', 'python', 'javascript', 'css', 'bash=sh', 'yaml', 'json', 'vim', 'markdown', 'sql', 'ruby', 'php', 'java', 'c', 'cpp', 'rust', 'go', 'typescript', 'jsx', 'tsx', 'graphql', 'dockerfile']
" From https://github.com/preservim/vim-markdown via sheerun/vim-polyglot
" Disable auto list indent
let g:vim_markdown_new_list_item_indent = 0 let g:vim_markdown_new_list_item_indent = 0
" Format frontmatter as YAML " Format frontmatter as YAML

View File

@ -47,6 +47,10 @@
"branch": "main", "branch": "main",
"commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed"
}, },
"git-scripts.nvim": {
"branch": "dev",
"commit": "2f7c075f485ea9b9d834814028c691492d52445c"
},
"go.nvim": { "go.nvim": {
"branch": "master", "branch": "master",
"commit": "6368756601a358b1491ac2ff10d0e2939a76df5e" "commit": "6368756601a358b1491ac2ff10d0e2939a76df5e"

View File

@ -658,6 +658,13 @@ return {
workspaces = { workspaces = {
{ name = "personal", path = "~/Documents/Obsidian" }, { name = "personal", path = "~/Documents/Obsidian" },
}, },
ui = {
checkboxes = {
[" "] = { char = "", hl_group = "ObsidianTodo" },
["x"] = { char = "", hl_group = "ObsidianDone" },
},
external_link_icon = { char = "🔗", hl_group = "ObsidianExtLinkIcon" },
},
}, },
event = { event = {
"BufRead " .. vim.fn.expand("~") .. "/Documents/Obsidian/**.md", "BufRead " .. vim.fn.expand("~") .. "/Documents/Obsidian/**.md",