" plugins " call plug#begin('~/.vim/plugged') Plug 'itchyny/lightline.vim' Plug 'sonph/onehalf', { 'rtp': 'vim' } Plug 'tpope/vim-fugitive' Plug 'NLKNguyen/papercolor-theme' Plug 'fatih/vim-go' Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'} " polyglot Plug 'sheerun/vim-polyglot' " Typescript lsp Plug 'neoclide/coc-tsserver' " treesitter Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " FZF integration with vim Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' call plug#end() " colors " set t_Co=256 "required for urxvt set background=dark "dark or light " colorscheme PaperColor let g:lightline = { \ 'colorscheme': 'onehalfdark', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'FugitiveHead' \ }, \ } " Hide insert(redundant because of lightline plugin) set noshowmode " Clear the background in order to have opacity hi Normal guibg=NONE ctermbg=NONE hi clear SignColumn hi clear LineNr " settings " filetype on "detect files based on type filetype plugin on "when a file is edited its plugin file is loaded filetype indent on "maintain indentention set nu "enable line numbers set relativenumber "relative line numbers set colorcolumn=100 "display a colored column at 100 chars highlight ColorColumn ctermbg=0 guibg=morning " ------------------------------------------------------------------------------------------------- " treesitter settings " " ------------------------------------------------------------------------------------------------- " Syntax highlighting lua <