58 lines
1.3 KiB
VimL
58 lines
1.3 KiB
VimL
if empty(glob('~/.config/nvim/autoload/plug.vim'))
|
||
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
|
||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||
endif
|
||
|
||
set number
|
||
set relativenumber
|
||
set tabstop=4
|
||
set shiftwidth=4
|
||
set smarttab
|
||
set hidden
|
||
set showtabline=1
|
||
set termguicolors
|
||
set ttyfast
|
||
set wildmenu
|
||
set title
|
||
set list
|
||
set listchars=tab:→\ ,eol:¬,trail:⋅,extends:❯,precedes:❮
|
||
set showbreak=↪
|
||
|
||
|
||
if has('nvim')
|
||
set inccommand=split
|
||
endif
|
||
|
||
let g:ale_set_baloons = 1
|
||
let g:ale_completion_enabled = 1
|
||
|
||
call plug#begin('~/.config/nvim/plugged')
|
||
|
||
"LSP Stuff
|
||
Plug 'w0rp/ale'
|
||
Plug 'ryanolsonx/vim-lsp-python'
|
||
Plug 'ryanolsonx/vim-lsp-typescript'
|
||
Plug 'prabirshrestha/asyncomplete.vim'
|
||
Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||
|
||
Plug 'machakann/vim-highlightedyank'
|
||
Plug 'vim-airline/vim-airline'
|
||
Plug 'vim-airline/vim-airline-themes'
|
||
Plug 'morhetz/gruvbox'
|
||
Plug 'tpope/vim-fugitive'
|
||
Plug 'mhinz/vim-signify'
|
||
Plug 'tpope/vim-commentary'
|
||
|
||
call plug#end()
|
||
|
||
"Gruvbox config
|
||
colorscheme gruvbox
|
||
set background=dark
|
||
let g:gruvbox_contrast_dark = 'soft'
|
||
|
||
"Airline settings
|
||
let g:airline#extensions#tabline#enabled = 1
|
||
let g:airline_powerline_fonts = 1
|
||
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
|
||
|