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 nixpkgs-fmt
gopls gopls
pyright pyright
vimwiki-markdown
(python3.withPackages (ps: with ps; [ (python3.withPackages (ps: with ps; [
black black
flake8 flake8
@ -59,6 +60,9 @@
goyo-vim goyo-vim
conflict-marker-vim conflict-marker-vim
vimwiki
]; ];
extraConfig = '' extraConfig = ''
set nocompatible set nocompatible
@ -144,6 +148,16 @@
" Enter goyo mode " Enter goyo mode
nmap <Leader>gy :Goyo 50%x100%<CR> 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 lua << EOF
require("bufferline").setup{} require("bufferline").setup{}