summaryrefslogtreecommitdiff
path: root/.config/nvim/themes/base16.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/themes/base16.vim')
-rw-r--r--.config/nvim/themes/base16.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/themes/base16.vim b/.config/nvim/themes/base16.vim
new file mode 100644
index 0000000..d9d3971
--- /dev/null
+++ b/.config/nvim/themes/base16.vim
@@ -0,0 +1,17 @@
+" Prevents the colorscheme from loading a custom bg color.
+autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
+
+hi Comment cterm=italic
+
+syntax on
+colorscheme base16-default-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