summary refs log tree commit diff
path: root/.vim/colors
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-06-11 20:36:43 +0200
committerRobert Günzler <r@gnzler.io>2021-06-11 20:36:43 +0200
commitf3af42e047793021bff1ca5f5e5ccb42cf890896 (patch)
treeefb0fa052037bb083c2d1b25a5172acdc6f05f01 /.vim/colors
parentbdcbe29a5d91e80de75de8d71cca0516bb2a587d (diff)
vim: use vim.opt
Diffstat (limited to '.vim/colors')
-rw-r--r--.vim/colors/lush.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vim/colors/lush.vim b/.vim/colors/lush.vim
new file mode 100644
index 0000000..6759fb4
--- /dev/null
+++ b/.vim/colors/lush.vim
@@ -0,0 +1,9 @@
+
+lua << EOF
+vim.opt.background = 'dark'
+
+if vim.opt.termguicolors:get() then
+  vim.g.colors_name = 'lush'
+  require('lush')(require('colors'))
+end
+EOF