diff --git a/README.md b/README.md index 20301d0..7f0a27f 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,14 @@ A very fast, multi-syntax context-sensitive color name highlighter
+

Conditional Loading

+ +If you want to only load this plugin on some files, you can use conditional loading feature in [vim plug](https://github.com/junegunn/vim-plug#example) + +``` +Plug 'ap/vim-css-color', { 'for': [ 'css', 'scss' ] } +``` + Inspired by [Niklas Hofer](http://www.vim.org/scripts/script.php?script_id=2150) and [Max Vasiliev](https://github.com/skammer/vim-css-color).