diff --git a/neovim/ftplugin/markdown.vim b/neovim/ftplugin/markdown.vim index ca1a07f..0aa1a39 100644 --- a/neovim/ftplugin/markdown.vim +++ b/neovim/ftplugin/markdown.vim @@ -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 diff --git a/neovim/lazylock-0.10.json b/neovim/lazylock-0.10.json index 24c6a98..024b13a 100644 --- a/neovim/lazylock-0.10.json +++ b/neovim/lazylock-0.10.json @@ -47,6 +47,10 @@ "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" }, + "git-scripts.nvim": { + "branch": "dev", + "commit": "2f7c075f485ea9b9d834814028c691492d52445c" + }, "go.nvim": { "branch": "master", "commit": "6368756601a358b1491ac2ff10d0e2939a76df5e" diff --git a/neovim/lua/lazy_plugins.lua b/neovim/lua/lazy_plugins.lua index a0e9dcf..e9b63e8 100644 --- a/neovim/lua/lazy_plugins.lua +++ b/neovim/lua/lazy_plugins.lua @@ -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",