aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-11-03 09:57:16 +0100
committerneodarz <neodarz@neodarz.net>2017-11-03 09:57:16 +0100
commit764dbb8c0d67237f319a35d9b0d516834e8ab50f (patch)
treef05bd796dc9aeeb3e1e32be545148d214c61ead6
parentde7142b616b471ac736d01b0c67805401c98efa7 (diff)
downloaddotfiles_ascii-764dbb8c0d67237f319a35d9b0d516834e8ab50f.tar.xz
dotfiles_ascii-764dbb8c0d67237f319a35d9b0d516834e8ab50f.zip
Fix some bugs
-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