added autoformatter
This commit is contained in:
5
init.vim
5
init.vim
@@ -38,6 +38,7 @@ Plug 'honza/vim-snippets' " Snippets library
|
||||
|
||||
Plug 'vim-scripts/c.vim' " C syntax and indentation
|
||||
Plug 'rust-lang/rust.vim' " Rust syntax and indentation
|
||||
Plug 'vim-autoformat/vim-autoformat' " Auto formatter
|
||||
|
||||
Plug 'folke/tokyonight.nvim'
|
||||
call plug#end()
|
||||
@@ -57,4 +58,6 @@ if has('nvim')
|
||||
set directory=~/.config/nvim/swap//
|
||||
endif
|
||||
|
||||
autocmd VimEnter * NERDTree
|
||||
autocmd VimEnter * NERDTree
|
||||
noremap <F3> :Autoformat<CR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user