2019-10-26 20:05:31 +03:00
|
|
|
" Set colorscheme
|
2020-01-08 22:07:32 +02:00
|
|
|
colorscheme material
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2020-01-08 22:07:32 +02:00
|
|
|
" Material theme variant
|
|
|
|
let g:material_theme_style = 'palenight'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2020-01-08 22:07:32 +02:00
|
|
|
" Material theme for lightline
|
|
|
|
let g:lightline = { 'colorscheme': 'material_vim' }
|
|
|
|
|
|
|
|
" Disable built-in statusline because lightline shows it
|
2019-10-26 20:05:31 +03:00
|
|
|
set noshowmode
|
|
|
|
|
|
|
|
" True color support
|
|
|
|
set termguicolors
|
|
|
|
|
|
|
|
" Line numbering
|
|
|
|
set relativenumber
|
2020-01-08 22:07:32 +02:00
|
|
|
set number
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Always show signcolumn
|
|
|
|
set signcolumn=yes
|
|
|
|
|
|
|
|
" Autoindent and syntax highlight
|
|
|
|
set autoindent
|
|
|
|
set smartindent
|
|
|
|
syntax on
|
|
|
|
filetype on
|
|
|
|
filetype plugin indent on
|
|
|
|
set tabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
|
|
|
|
" Make gutter and cursorline bg transparent
|
|
|
|
highlight CursorLineNr guibg=transparent
|
|
|
|
highlight SignColumn guibg=transparent
|