From 7e37870ce6bb067fb7852218b220866831df7628 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Wed, 24 Aug 2022 16:23:55 +0200 Subject: [PATCH] vim: add autoformat plugin --- vim/init.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vim/init.vim b/vim/init.vim index b0b90e2..b78349a 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -31,13 +31,15 @@ endif let mapleader = " " " Plugins -" call plug#begin('~/.vim/plugged') +call plug#begin() + " Plug 'itchyny/lightline.vim' " Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " Plug 'Valloric/YouCompleteMe' " Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} -" Plug 'https://github.com/ap/vim-css-color.git' +Plug 'https://github.com/ap/vim-css-color.git' +Plug 'vim-autoformat/vim-autoformat' " Collection of common configurations for the Nvim LSP client " Plug 'neovim/nvim-lspconfig' @@ -57,7 +59,7 @@ let mapleader = " " " Plug 'tpope/vim-commentary' -" call plug#end() +call plug#end() "------------------------------------------------------------ " Must have options {{{1