Fix vimwiki markdown syntax

main
Ensar Sarajčić 2023-02-08 19:24:11 +01:00
parent 83bd3f277f
commit 21e04dac76
1 changed files with 5 additions and 0 deletions

View File

@ -28,5 +28,10 @@ let g:vimwiki_global_ext = 0
" Prettier checkboxes
let g:vimwiki_listsyms = '✗○◐●✓'
augroup VimwikiBufEnterMarkdown
autocmd!
autocmd BufEnter *.md setl syntax=markdown
augroup END
command! -count=0 -nargs=1 VimwikiOpenSubdirectoryIndex :lua require('esensar.vimwiki_extensions').open_subdirectory_index_file(<count>, <f-args>)