modules/neovim: Add vimwiki and vimwiki-markdown

This commit is contained in:
fleaz 2023-09-14 17:13:49 +02:00
parent 6a425d4eac
commit 252ecb2bc3

View file

@ -8,6 +8,7 @@
nixpkgs-fmt
gopls
pyright
vimwiki-markdown
(python3.withPackages (ps: with ps; [
black
flake8
@ -59,6 +60,9 @@
goyo-vim
conflict-marker-vim
vimwiki
];
extraConfig = ''
set nocompatible
@ -144,6 +148,16 @@
" Enter goyo mode
nmap <Leader>gy :Goyo 50%x100%<CR>
let g:vimwiki_list = [{
\ 'path': '~/workspace/vimwiki',
\ 'template_path': '~/workspace/vimwiki/templates/',
\ 'template_default': 'default',
\ 'syntax': 'markdown',
\ 'ext': '.md',
\ 'path_html': '~/workspace/vimwiki/site_html/',
\ 'custom_wiki2html': 'vimwiki_markdown',
\ 'template_ext': '.tpl'}]
lua << EOF
require("bufferline").setup{}