You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let g:vimwiki_list = [{'path': '~/Documents/wiki/', 'syntax':'markdown', 'ext':'.md'}]
let g:vimwiki_global_ext = 0
autocmd VimEnter * VimwikiIndex
I want to run Vimwiki at startup. After adding a command for doing it in my init.vim, the markdown file (it also doesn't work in wiki syntax) doesn't load the filetype and thus I get no syntax highlighting. None of the mappings work and vimwiki is just not active.
To reproduce just add autocmd VimEnter * VimwikiIndex to your vimrc.
Output of VimwikiShowVersion
Version: 2023.05.12
Os: Linux
Vim: 801
Branch: dev
Revision: 5d86b62
Date: 2023-10-16 10:12:32 -0300
The text was updated successfully, but these errors were encountered:
jfab20
changed the title
Vimwiki does not recognize filetype in startup
Vimwiki does not recognize filetype on startup
Oct 23, 2023
set nocompatible
filetype plugin on
let g:vimwiki_list = [{'path': '~/cloud/notes--20240114', 'syntax': 'markdown', 'ext': 'md'}]
let g:vimwiki_global_ext = 0
(no dot before md)
I also don't get proper syntax highlighting and :set syntax? returns syntax=vimwiki
Output of VimwikiShowVersion
Version: 2023.05.12
Os: Linux
Vim: 801
Branch: dev
Revision: 0bb1b49
Date: 2023-10-31 13:45:18 -0300
My
init.vim
, with markdown syntaxI want to run Vimwiki at startup. After adding a command for doing it in my
init.vim
, the markdown file (it also doesn't work in wiki syntax) doesn't load the filetype and thus I get no syntax highlighting. None of the mappings work and vimwiki is just not active.To reproduce just add
autocmd VimEnter * VimwikiIndex
to your vimrc.Output of VimwikiShowVersion
The text was updated successfully, but these errors were encountered: