Nate Kane
5f48d29177
Refactored the regex for the highlight patterns.
2011-03-13 21:29:27 +11:00
Nate Kane
d9c596352a
Fixed bug with calculating guide size.
2011-03-06 23:48:08 +10:00
Nate Kane
7af506c797
Tweaked highlight patterns.
2011-03-06 23:31:54 +10:00
Will Gray
f7d5111c34
Partial support for mixed tabs and spaces.
...
Also account for 1 tab == 1 indent.
2011-02-21 14:08:05 -06:00
Nate Kane
5146db837f
Merge branch 'master' of https://github.com/voidus/vim-indent-guides into voidus-master
...
* 'master' of https://github.com/voidus/vim-indent-guides :
Use str2float instead of plain floats. Fixes #10
2011-02-21 23:38:47 +10:00
Nate Kane
fa67d46aca
Removed unnecessary exe calls for default highlights
2011-02-21 23:29:30 +10:00
Simon Kohlmeyer
f972f0264f
Use str2float instead of plain floats. Fixes #10
...
This is used to work around a vim bug throwing E806: using Float as String in
some Situations.
2011-02-21 10:34:27 +01:00
Will Gray
10b809d187
Don't clobber pre-set custom colors.
2011-02-17 15:13:14 -06:00
Nate Kane
353bef3dba
Improved Windows support
2011-01-24 22:25:17 +10:00
Nate Kane
2ea3460539
Altered some comment wording
2011-01-17 20:35:37 +10:00
Nate Kane
349edc9da2
Added support for gVim themes that don't specify a hi Normal guibg
color
2011-01-17 13:13:50 +10:00
Nate Kane
67398b8358
Added new global option to configure which indent level to start the indent guides from
2011-01-09 20:53:48 +10:00
Nate Kane
06d2b34874
Refactored some core logic and added some simple debugging
2011-01-05 14:07:53 +10:00
Nate Kane
f2608db67e
Refactored some core functionality and implemented an initial version of the custom guide size feature [issue2]
2011-01-04 23:53:17 +10:00
Nate Kane
538554b19f
Refactored the way global variables are initialized and added a new plugin option: g:indent_guides_indent_guide_size
2011-01-04 23:49:35 +10:00
Nate Kane
32b9f52837
Added more explicit variable scopes
2010-12-29 20:31:49 +10:00
Nate Kane
046104c2f0
Tweaked the indent_guides#cterm_highlight_colors() function a bit
2010-12-29 20:17:34 +10:00
Nate Kane
9b43f5c84c
Refactored the color_helper#color_name_to_hex() function to use hex codes directly instead of calculating them (shoutout to godlygeek for the codes)
2010-12-29 20:12:10 +10:00
Nate Kane
b4b4ce9c76
Tweaked the indent_guides#cterm_highlight_colors() function so it works a bit more consistently
2010-12-29 14:43:42 +10:00
Nate Kane
51436e3677
Tweaked the indent_guides#cterm_highlight_colors() function
2010-12-22 21:44:46 +10:00
Joshua Hogendorn
b3656708cb
Terminal colours are now based on the Normal BG
...
Instead of using the foreground and background of a search result, which
is usually designed to stand right out, the indents for terminal are now
colored according to the normal text background.
2010-12-22 10:31:06 +10:00
Joshua Hogendorn
0ebc1eb93d
Fixes an error setting default colours to NONE
...
It needs to be NONE, not none.
2010-12-22 09:30:50 +10:00
Nate Kane
14aae71298
Improved support for terminal vim
2010-12-20 22:26:45 +10:00
Nate Kane
6d903df6e7
Added early support for terminal vim
2010-12-20 21:51:02 +10:00
Nate Kane
a1b1818ebb
Replaced the color list variable
2010-12-12 14:16:44 +10:00
Nate Kane
3bcd403bee
Added support for colorschemes that use color names instead of hex codes
2010-12-11 20:45:07 +10:00
Nate Kane
f802cd2fb5
Lowered the color change percent option default down to 0.05
2010-12-10 23:19:39 +10:00
Nate Kane
cc79a2eca9
Refactored the darken formula in the color helper
2010-12-10 23:17:28 +10:00
Nate Kane
5e91b15edc
Refactored heaps of stuff and added autocmds
2010-12-09 22:45:09 +10:00
Nate Kane
51d44e3ebf
Refactored the usage of the indent_guides_matches variable
2010-12-08 21:48:00 +10:00
Nate Kane
5666f56a6a
Added more function comments and renamed all instances of 'brighten' to 'lighten'
2010-12-07 22:51:31 +10:00
Nate Kane
8d0c589f5c
The plugin now automatically calculates indent highlight colors
2010-12-07 22:37:50 +10:00
Nate Kane
6bd76247a4
Tweaked formatting in the color_helper lib and fixed a bug in the color_helper#hex_color_brighten() function
2010-12-07 22:36:35 +10:00
Nate Kane
6fd0442a5d
Renamed files so they have underscores instead of dashes and moved methods to autoload files
2010-12-07 20:00:59 +10:00