summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-06 00:55:29 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-06 00:55:29 +0200
commitab7e4d83e7e4314bfa60f079f951267f73bd970e (patch)
tree797c4b65fb2e56513f8ddec495d136c5033bc851 /.config/nvim/init.vim
parent0eaa2cb10e9546d554fb5829a38cac2a49da50c8 (diff)
nvim colorizer, cmdheight=2, cleaned up lua files a bit
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 6907a74..9858e3b 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -16,3 +16,13 @@ if has('persistent_undo')
endif
lua require 'init'
+
+" lua require'colorizer'.setup()
+lua << EOF
+require 'colorizer'.setup {
+ '*'; -- Highlight all files, but customize some others.
+ '!vim'; -- Exclude vim from highlighting.
+ css = { rgb_fn = true; }; -- Enable parsing rgb(...) functions in css.
+ html = { names = false; } -- Disable parsing "names" like Blue or Gray
+}
+EOF