Jason Stewart
75cb2dad19
'echo' => 'echomsg' on plugin init
2026-07-10 17:10:07 -04:00
Jason Stewart
bb61373c80
Less obnoxious warning style when necessary Vim features are missing.
2024-12-23 23:12:34 -05:00
Jason Stewart
a978dcfa6e
- only require 'termguicolors' outside of gvim
2022-01-10 21:13:13 -05:00
Jason Stewart
45be60b76a
- commented out personal <leader> mappings
2022-01-02 14:49:24 -05:00
Jason Stewart
372a915469
using textprop instead of matches
...
- updated color parsers to all return RGBA lists
- split alpha-disabled match pruning out into s:UnHlAlpha()
- g:clrzr_maxlines guarding
- single awk job, instead of per-window
- updated awk script to reflect buffer# back to vim
- have plugin check for textprop, termguicolors, ##TextChanged. echoerr
if missing.
- removed most ...Window() functions & window-specific properties
2022-01-02 13:03:39 -05:00
Jason Stewart
66e4c4f446
- renamed script (nearly everything has been extensively re-worked)
...
- renamed commands to Clrzr... (shorter, & avoids likely name collisions)
- refactored commands to differentiate between session-wide & window-only operations
- stripped out leader bindings
- per-window alpha toggle
- hoisted get background color outside of syntax parse loop
- process up to g:clrzr_maxlines instead of skipping file entirely
- removed hlexists() check to fix bug during :colorscheme change
(highlights remain, even after all corresponding matches are removed)
- major surgery on autocmds
2021-12-31 09:57:16 -05:00
Jason Stewart
f7e9691e1c
killed xterm paletted color matching
...
- changed extension of README
- added notes on README.md on how to get `termguicolors`
under true-color terminals
- removed Makefile
- removed xterm palette matching
(close is not good enough, best not to try )
- disable plugin if `termguicolors` is not == 1
- added hsl items to colortest.txt for future addition
- added :ColorAlphaPosToggle command
2021-12-29 18:50:51 -05:00
Jason Stewart
69f10b66bb
Version 1.5
...
- updated script headers
- created helpfile
2021-12-29 18:18:05 -05:00
依云
afc1491e5b
doc for the colorizer#AlphaPositionToggle() function
2018-06-16 20:11:05 +08:00
Felix Yan
82df9d2b43
Fix a typo in colorizer.vim
2018-06-15 00:48:05 +08:00
依云
9d6dc32e6e
bump version
2016-02-21 22:49:12 +08:00
依云
7999427668
support for #aarrggbb format, close #28
2016-02-21 22:42:10 +08:00
Uwe Jugel
f37a376f87
extended mode lines, fixed color term support, added non-alpha hlpatterns
2016-02-14 03:04:38 +01:00
BimbaLaszlo
bdad9d1b7a
disable if more then g:colorizer_maxlines
2015-05-13 15:22:24 +02:00
依云
9f84dbda23
update "Thanks To"
2014-03-12 22:13:31 +08:00
依云
749934c53a
bump version
2014-01-25 20:30:25 +08:00
Shane Smith
4c122061a0
Fix auto-startup regression
...
Moving the `if g:colorizer_startup` block from plugin/ to
autoload/ broke the plugin being automatically started, therefore moved
it back to plugin/.
2014-01-24 13:54:27 -05:00
依云
cad9f690a2
add version infomation
2014-01-17 15:24:53 +08:00
依云
9e38fc2614
move function definitions to autoload
2014-01-12 18:16:47 +08:00
依云
464a5bee03
Merge remote-tracking branch 'blueyed/performance-fixes'
...
Conflicts:
plugin/colorizer.vim
2014-01-12 17:40:33 +08:00
Daniel Hahler
11e8dcf8d3
Skip calling matchend() when breaking anyway
2014-01-11 22:12:28 +01:00
Daniel Hahler
75f78bb52d
Use Vim's pow function, instead of internal one
...
The internal one only worked for n<=2, but got used for n=2 anyway.
It showed up quite high in the performance profile though, let alone
because of the number of calls/invocations.
2014-01-11 22:08:25 +01:00
Daniel Hahler
3e47c49fd6
Add s:GetXterm2rgbTable to lazily setup the xterm2rgb table
...
Ref: https://github.com/lilydjwg/colorizer/issues/12
2014-01-11 22:05:14 +01:00
Daniel Hahler
97371f15b5
Allow to re-source the file: fun! and non-unique Plug map
2014-01-11 21:38:30 +01:00
UncleBill
ff1d03951c
toggle msg is noisy call s:ColorHighlight directly
2013-08-28 20:37:26 +08:00
依云
e95584933f
fixing issue #5
...
force highlight on WinEnter and don't clear for other windows
2013-08-02 20:51:18 +08:00
依云
44324f5c0c
enable colorizer at startup by default
2013-07-28 23:22:40 +08:00
依云
745878a201
add g:colorizer_startup, closing github issue #9
2013-07-26 14:51:52 +08:00
Daniel Hahler
276f277bfd
Restore previous window in s:ColorClear
...
Currently only the previous tab gets restored, but `:windo` requires to
restore the window, too.
2012-10-25 17:46:47 +02:00
依云
2880696e71
fix issue #6 : 'color' is a global variable
2012-06-06 14:47:42 +08:00
依云
d82ce791be
update license info
2011-05-19 22:40:29 +08:00
依云
4b24cd17c9
fix that different patterns of same color not get highlighted
2011-05-19 22:10:32 +08:00
依云
18640b0995
percent value handling in RGB(a) colors
2011-05-19 22:05:36 +08:00
依云
f66f13c9b2
Add support for RGBa colors (non-percent version)
2011-05-19 21:29:59 +08:00
依云
f43e2577bb
Add support for rgb(r, g, b) colors
...
And the 'ColorFinder' functions are seperated out.
2011-05-19 20:30:58 +08:00
依云
16355273b0
Fix undefined variable error and not highlight new window after last update
2011-05-19 11:10:11 +08:00
依云
7abe1e093e
add credit for the event change
...
https://github.com/skammer/vim-css-color/pull/5
2011-05-17 21:36:29 +08:00
依云
bd3af3b5ba
use CursorMoved instead of CursorHold
2011-05-17 21:14:32 +08:00
依云
195d79b7f0
modify comments
2011-05-10 19:28:54 +08:00
依云
e548ab42a9
fix ColorToggle broken after updating to v1.3
2011-05-10 18:38:30 +08:00
依云
84c19c5b9b
add -bang to ColorHighlight to force fg update
...
Auto detecting only works for the first s:ColorHighlight() call but it
does not always update all highlightings.
2011-05-08 15:04:20 +08:00
依云
322d31963b
better solution to avoid call to substitute
2011-05-08 14:49:01 +08:00
依云
2f3b89d6d4
Merge remote branch 'rykka/patch-3'
2011-05-08 14:48:41 +08:00
依云
cf7dfd12d3
make g:colorizer_fgcontrast take effect when changed
2011-05-08 14:33:51 +08:00
rykka
1997364ae2
Edited plugin/colorizer.vim via GitHub
2011-05-07 22:57:38 -07:00
依云
8cadcda001
update credits
2011-05-08 12:18:26 +08:00
依云
c00eeddce5
update highlighting when BufRead
2011-05-08 12:15:02 +08:00
依云
2ad84e6b0f
remain highlight when colorscheme changed
2011-05-08 12:12:43 +08:00
依云
701c3e603e
use dict instead of list to avoid duplicate matchadd
2011-05-08 11:53:00 +08:00
依云
16a3a7f6b9
add g:colorizer_fgcontrast to control the foreground color
2011-05-08 11:46:28 +08:00