summaryrefslogtreecommitdiff
path: root/vim-extra/.config/nvim/extra.vim
blob: 03b5e4434b9ef0d16829b0290e4e9e922f33667f (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
" Plugins{{{
  call plug#begin()
    Plug 'neovim/nvim-lspconfig'
    Plug 'Shougo/echodoc.vim'

    Plug 'tpope/vim-surround'
    Plug 'tpope/vim-repeat'

    Plug 'NLKNguyen/papercolor-theme'
    Plug 'LnL7/vim-nix'
    Plug 'fatih/vim-go'

  call plug#end()

" }}}

" Completion{{{
    set completeopt+=menuone
    set completeopt+=noselect

    if has('nvim')
        let g:echodoc#enable_at_startup = 1
        let g:echodoc#type = 'virtual'
    endif

    " Close completion window
    autocmd CompleteDone * pclose

    colorscheme PaperColor
    "
" Latex
    let g:vimtex_quickfix_open_on_warning = 0