summary refs log tree commit diff
path: root/.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim')
-rw-r--r--.vim/colors/lush.lua7
-rw-r--r--.vim/colors/lush.vim9
2 files changed, 7 insertions, 9 deletions
diff --git a/.vim/colors/lush.lua b/.vim/colors/lush.lua
new file mode 100644
index 0000000..eab2415
--- /dev/null
+++ b/.vim/colors/lush.lua
@@ -0,0 +1,7 @@
+if not vim.opt.termguicolors:get() then
+  return
+end
+
+vim.g.colors_name = 'lush'
+vim.opt.background = 'dark'
+require('lush')(require('colors'))
diff --git a/.vim/colors/lush.vim b/.vim/colors/lush.vim
deleted file mode 100644
index 6759fb4..0000000
--- a/.vim/colors/lush.vim
+++ /dev/null
@@ -1,9 +0,0 @@
-
-lua << EOF
-vim.opt.background = 'dark'
-
-if vim.opt.termguicolors:get() then
-  vim.g.colors_name = 'lush'
-  require('lush')(require('colors'))
-end
-EOF