summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-02-23 21:37:32 +0100
committeraktersnurra <grydholm@kth.se>2021-02-23 21:37:32 +0100
commite3546b5a1b4dab9df621f9d5060e64ebf096dd27 (patch)
treea73e651fe8e6d478725ae71374554bca4aaa2f7d /.config
parent1aca2302cbd0015496f5a272f49bc45f56ebb54d (diff)
color scheme
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/themes/spaceway.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/themes/spaceway.vim b/.config/nvim/themes/spaceway.vim
new file mode 100644
index 0000000..24dcb70
--- /dev/null
+++ b/.config/nvim/themes/spaceway.vim
@@ -0,0 +1,18 @@
+" Prevents the colorscheme from loading a custom bg color.
+autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
+
+
+let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
+let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
+
+hi Comment cterm=italic
+
+syntax on
+colorscheme spaceway
+set background=dark
+
+" checks if your terminal has 24-bit color support
+if (has("termguicolors"))
+ set termguicolors
+ hi LineNr ctermbg=NONE guibg=NONE
+endif