mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 13:27:38 +00:00
Update obsidian config and markdown config
This commit is contained in:
parent
58920c164c
commit
5846ee9383
@ -1,7 +1,15 @@
|
||||
" Set Markdown indent to 2 so single indented text doesn't become 'code'
|
||||
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
|
||||
|
||||
" Format frontmatter as YAML
|
||||
|
@ -47,6 +47,10 @@
|
||||
"branch": "main",
|
||||
"commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed"
|
||||
},
|
||||
"git-scripts.nvim": {
|
||||
"branch": "dev",
|
||||
"commit": "2f7c075f485ea9b9d834814028c691492d52445c"
|
||||
},
|
||||
"go.nvim": {
|
||||
"branch": "master",
|
||||
"commit": "6368756601a358b1491ac2ff10d0e2939a76df5e"
|
||||
|
@ -658,6 +658,13 @@ return {
|
||||
workspaces = {
|
||||
{ name = "personal", path = "~/Documents/Obsidian" },
|
||||
},
|
||||
ui = {
|
||||
checkboxes = {
|
||||
[" "] = { char = "☐", hl_group = "ObsidianTodo" },
|
||||
["x"] = { char = "✔", hl_group = "ObsidianDone" },
|
||||
},
|
||||
external_link_icon = { char = "🔗", hl_group = "ObsidianExtLinkIcon" },
|
||||
},
|
||||
},
|
||||
event = {
|
||||
"BufRead " .. vim.fn.expand("~") .. "/Documents/Obsidian/**.md",
|
||||
|
Loading…
Reference in New Issue
Block a user