From 8577c3b7cba714551d3537f3337ee2490bd20106 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 14 Mar 2021 21:58:45 +0100 Subject: started moving to pure lua config --- .config/nvim/themes/github.vim | 12 ++++++++++++ .config/nvim/themes/githubsy.vim | 3 ++- .config/nvim/themes/hogwarts.vim | 12 ++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .config/nvim/themes/github.vim create mode 100644 .config/nvim/themes/hogwarts.vim (limited to '.config/nvim/themes') diff --git a/.config/nvim/themes/github.vim b/.config/nvim/themes/github.vim new file mode 100644 index 0000000..259a086 --- /dev/null +++ b/.config/nvim/themes/github.vim @@ -0,0 +1,12 @@ + +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + +syntax on +colorscheme github + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/githubsy.vim b/.config/nvim/themes/githubsy.vim index f4cf775..f825249 100644 --- a/.config/nvim/themes/githubsy.vim +++ b/.config/nvim/themes/githubsy.vim @@ -1,6 +1,7 @@ " Prevents the colorscheme from loading a custom bg color. autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE -" syntax on + +syntax on colorscheme githubsy diff --git a/.config/nvim/themes/hogwarts.vim b/.config/nvim/themes/hogwarts.vim new file mode 100644 index 0000000..09058bf --- /dev/null +++ b/.config/nvim/themes/hogwarts.vim @@ -0,0 +1,12 @@ +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + + +syntax on +colorscheme hogwarts + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif -- cgit v1.2.3-70-g09d2