-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
64 lines (53 loc) · 1.49 KB
/
init.vim
File metadata and controls
64 lines (53 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
set nu
set noshowmode
set noexpandtab
set copyindent
set preserveindent
set softtabstop=0
set shiftwidth=4
set tabstop=4
set cindent
set cinoptions=(0,u0,U0
set autoindent
call plug#begin(stdpath('data') . '/plugged')
" Theme and Style
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'danilo-augusto/vim-afterglow'
Plug 'weilbith/nvim-code-action-menu'
" Language Server Protocol and completion Support
Plug 'neovim/nvim-lspconfig' "Collection of configurations for built-in LSP client
Plug 'hrsh7th/nvim-cmp' "Autocompletion plugin
Plug 'hrsh7th/cmp-nvim-lsp' "LSP source for nvim-cmp
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-path'
Plug 'hrsh7th/cmp-cmdline'
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/cmp-nvim-lsp-signature-help'
Plug 'saadparwaiz1/cmp_luasnip' "Snippets source for nvim-cmp
Plug 'L3MON4D3/LuaSnip' "Snippets plugin
" Rust related
Plug 'simrat39/rust-tools.nvim'
" Language Server Manager
Plug 'williamboman/mason.nvim'
Plug 'williamboman/mason-lspconfig.nvim'
" Formatter
Plug 'sbdchd/neoformat'
" Indent processor
Plug 'Darazaki/indent-o-matic'
" Enhancement plugins
Plug 'farmergreg/vim-lastplace'
call plug#end()
colorscheme afterglow
let g:airline_powerline_fonts = 1
" let g:afterglow_blackout=1
let g:afterglow_inherit_background=1
" weilbith/nvim-code-action-menu
let g:code_action_menu_window_border = 'single'
augroup fmt
autocmd!
autocmd BufWritePre * undojoin | Neoformat
augroup END
lua require('config')