summaryrefslogtreecommitdiff
path: root/.vimrc
blob: 8a96636389fbdb1550fe318f436b599c856d81e9 (plain)
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
call plug#begin()

Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'

Plug 'lunacookies/vim-substrata'

Plug 'preservim/tagbar'

Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

Plug 'itchyny/lightline.vim'

call plug#end()

set termguicolors
colorscheme substrata

if executable('ada_language_server')
	au User lsp_setup call lsp#register_server({
				\ 'name': 'ada_language_server',
				\ 'cmd': ['ada_language_server'],
				\ 'allowlist': ['ada'],
				\ 'workspace_config': {'ada': {
				\	'projectFile': "project.gpr",
				\	'scenarioVariables': {"ARCH": "x86_64-pc-linux-gnu"}}},
				\ })
endif

nnoremap <C-s>  :Files<CR>
nnoremap <F8>	:TagbarToggle<CR>

set tabstop=4
set shiftwidth=4
set expandtab