From 6145cb81b780cdf72b89c50e33fde894e774daba Mon Sep 17 00:00:00 2001 From: Drezil Date: Wed, 13 Mar 2024 14:16:09 +0100 Subject: [PATCH] small config changes for markdown. --- nvim-config/init.vim | 141 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 131 insertions(+), 10 deletions(-) diff --git a/nvim-config/init.vim b/nvim-config/init.vim index 2a68dc6..951a78b 100644 --- a/nvim-config/init.vim +++ b/nvim-config/init.vim @@ -7,11 +7,8 @@ Plug 'vim-airline/vim-airline-themes' Plug 'https://github.com/tpope/vim-fugitive.git' " Shougos UI-Plugin Plug 'Shougo/denite.nvim' -" Plug 'roxma/nvim-completion-manager' " showing function-signatures/doc on completion Plug 'Shougo/echodoc.vim' -" Tab-Completion -" Plug 'ervandew/supertab' " vim-sourround Plug 'https://github.com/tpope/vim-surround.git' @@ -47,9 +44,8 @@ Plug 'terryma/vim-multiple-cursors' Plug 'ryanoasis/vim-devicons' " Markdown-Support -Plug 'plasticboy/vim-markdown' +Plug 'preservim/vim-markdown' Plug 'dhruvasagar/vim-table-mode' -Plug 'suan/vim-instant-markdown' " Code-Folds Plug 'tmhedberg/SimpylFold' @@ -78,6 +74,11 @@ Plug 'onsails/lspkind.nvim' " For vsnip users. Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' +Plug 'rafamadriz/friendly-snippets' + +" markdown-preview +" If you have nodejs +Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && npx --yes yarn install' } call plug#end() @@ -159,8 +160,8 @@ tnoremap " FANCY NEOVIM-MAGIC " setup mason, language-server & nvim-cmp for completion -lua <