aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/.config/nvim/init.vim22
1 files changed, 18 insertions, 4 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index e4e7284..e9449e8 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -55,7 +55,7 @@ Plugin 'pangloss/vim-javascript'
Plugin 'scrooloose/syntastic'
" Git command managament from nvim
-"Plugin 'tpope/vim-fugitive'
+Plugin 'tpope/vim-fugitive'
" Git plugin of fugitive plugin for view log of git
Plugin 'gregsexton/gitv'
@@ -68,19 +68,27 @@ Plugin 'mbbill/undotree'
Plugin 'mileszs/ack.vim'
" matchit
-Plugin 'isa/vim-matchit'
+"Plugin 'isa/vim-matchit'
" Unicode
Plugin 'chrisbra/unicode.vim'
" Colorize text for exemple #fff
-Plugin 'lilydjwg/colorizer'
+"Plugin 'lilydjwg/colorizer'
" html5
Plugin 'othree/html5.vim'
" Markdon hightlighting
-Plugin 'gabrielelana/vim-markdown'
+"Plugin 'gabrielelana/vim-markdown'
+
+" Autoformat
+"Plugin 'Chiel92/vim-autoformat'
+
+Plugin 'maksimr/vim-jsbeautify'
+
+" rst
+Plugin 'marshallward/vim-restructuredtext'
" After all plugins...
call vundle#end()
@@ -192,3 +200,9 @@ call NERDTreeHighlightFile('css', 'cyan', 'none', 'cyan', '#151515')
call NERDTreeHighlightFile('coffee', 'Red', 'none', 'red', '#151515')
call NERDTreeHighlightFile('js', 'Red', 'none', '#ffa500', '#151515')
call NERDTreeHighlightFile('php', 'Magenta', 'none', '#ff00ff', '#151515')
+
+" Autoformat conf
+noremap <F3> :Autoformat<CR>
+let g:autoformat_autoindent = 0
+let g:autoformat_retab = 0
+let g:autoformat_remove_trailing_spaces = 0