From 9896a85d5ad7dd7e203cb9656acbb799a1c91042 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sat, 1 May 2021 11:25:29 -0700 Subject: [PATCH] neovim changes --- programs/neovim/config.vim | 9 +++------ programs/neovim/default.nix | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/programs/neovim/config.vim b/programs/neovim/config.vim index 6cbbb64..884378d 100644 --- a/programs/neovim/config.vim +++ b/programs/neovim/config.vim @@ -143,12 +143,9 @@ nmap :call SwitchBuffer() let g:split_term_default_shell = "fish" let g:split_term_vertical = 1 -" mkdx settings -let g:mkdx#settings = { 'highlight': { 'enable': 1 }, - \ 'enter': { 'shift': 1 }, - \ 'links': { 'external': { 'enable': 1 } }, - \ 'toc': { 'text': 'Table of Contents', 'update_on_write': 1 }, - \ 'fold': { 'enable': 1 } } let g:polyglot_disabled = ['markdown'] +" vimwiki +let g:vimwiki_list = [{'path': '~/Documents/Notes/', + \ 'syntax': 'markdown', 'ext': '.md'}] diff --git a/programs/neovim/default.nix b/programs/neovim/default.nix index e89f0a1..d8ce7ae 100644 --- a/programs/neovim/default.nix +++ b/programs/neovim/default.nix @@ -22,7 +22,6 @@ let fzf-vim git-messenger-vim lightline-vim - mkdx nerdtree nerdtree-git-plugin rainbow @@ -31,6 +30,7 @@ let vim-fugitive vim-gitgutter vim-polyglot + vimwiki ] ++ overriddenPlugins; baseConfig = builtins.readFile ./config.vim;