Remove css-color as it seems to make performance bad, closes #62

This commit is contained in:
Adam Stankiewicz
2015-07-18 23:27:31 +02:00
parent cf1e53bc39
commit c154d82557
14 changed files with 3 additions and 697 deletions

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('css', 'extended', 'cssMediaBlock,cssFunction,cssDefinition,cssAttrRegion,cssComment')
endif

View File

@@ -43,14 +43,3 @@ if exists("s:pre_less_cur_syn")
endif
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
" default html syntax should already be including the css syntax
syn cluster colorableGroup add=htmlString,htmlCommentPart
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('css', 'none', 'jsonString')
endif

View File

@@ -1,17 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
" variable | property | multiline | end-of-line | plugin
" -----------------------+----------------+----------------+-------------+---------
" lessCssAttribute | lessCssComment | lessComment | https://github.com/genoma/vim-less
" lessAttribute | lessCssComment | lessComment | https://github.com/KohPoll/vim-less
" lessVariableValue | lessDefinition | cssComment | lessComment | https://github.com/groenewege/vim-less
" lessVariableDefinition | cssDefinition | cssComment | lessComment | https://github.com/lunaru/vim-less
call css_color#init('css', 'extended', 'lessVariableValue,lessVariableDefinition,lessDefinition,lessCssAttribute,lessAttribute,cssDefinition,cssComment,lessCssComment,lessComment')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('hex', 'extended', 'luaComment,luaString')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('hex', 'extended', 'moonComment,moonString')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('css', 'extended', 'sassCssAttribute,sassComment,sassCssComment')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('css', 'extended', 'scssAttribute,scssComment,scssVariableValue,sassCssAttribute,cssComment')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('css', 'extended', 'stylusCssAttribute,stylusComment,cssComment')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('hex', 'none', 'vimHiGuiRgb,vimComment,vimLineComment')
endif

View File

@@ -1,10 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
if !( has('gui_running') || &t_Co==256 ) | finish | endif
call css_color#init('hex', 'extended', 'yamlComment,yamlFlowString,yamlPlainScalar')
endif