dotfiles/config/nvim/init.vim

35 lines
617 B
VimL

set breakindent
set completeopt=menuone,noinsert,noselect
set noswapfile
set number
set relativenumber
set scrolloff=4
set virtualedit=block
set whichwrap=<,>,[,]
" True color
" https://gist.github.com/XVilka/8346728
set termguicolors
" install xclip
set clipboard+=unnamedplus
" FZF
set rtp+=~/.fzf
" plugins config
let g:go_fillstruct_mode = 'gopls'
let g:go_fmt_command='goimports'
let g:go_version_warning = 0
" vim-plug
call plug#begin()
Plug 'lifepillar/vim-solarized8'
Plug 'preservim/nerdtree'
Plug 'machakann/vim-sandwich'
Plug 'fatih/vim-go'
call plug#end()
set background=dark
colorscheme solarized8