nvim: Add support for working with sudo

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-09-09 13:25:18 +05:30
parent b006265b14
commit 8670913661
2 changed files with 5 additions and 0 deletions

View file

@ -61,6 +61,8 @@ Plug 'liuchengxu/vim-which-key'
Plug 'christoomey/vim-system-copy'
" Toggle terminal
Plug 'voldikss/vim-floaterm'
" Take care of sudo
Plug 'lambdalisue/suda.vim'
" LSP
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-lua/diagnostic-nvim'

View file

@ -10,6 +10,9 @@ let g:gitgutter_sign_removed = '-r'
let g:gitgutter_sign_removed_first_line = '^^'
let g:gitgutter_sign_modified_removed = 'mr'
" suda vim
let g:suda_smart_edit = 1
" Automatically detect style file and apply style to formatting
let g:clang_format#detect_style_file = 1
" For workspace