summaryrefslogtreecommitdiff
path: root/.config/nvim/themes/base16.vim
blob: 544d9d5efe5fb4d1b69d7da6f362f3055800d11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" Prevents the colorscheme from loading a custom bg color.
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE

hi Comment cterm=italic

syntax on
set background=dark
colorscheme base16-classic-dark

" checks if your terminal has 24-bit color support
if (has("termguicolors"))
    let base16colorspace=256  " Access colors present in 256 colorspace
    let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
    let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
    set termguicolors
    hi LineNr ctermbg=NONE guibg=NONE
    hi SignColumn ctermbg=NONE guibg=NONE
endif