Commit Graph

42 Commits

Author SHA1 Message Date
Allen Li
7aac8169ea Set size of indent guide to tabstop value when shiftwidth=0 is used
Fixes #57
2015-03-22 21:33:55 +10:00
Nate Kane
0996492531 Merge pull request #45 from sergey-vlasov/master
New `g:indent_guides_soft_pattern` option
2013-06-27 02:13:24 -07:00
Nate Kane
a5700082c7 Split multiple filetypes on ".".
Thanks @kljohann
2013-03-14 10:00:19 +10:00
Nate Kane
29037575e3 Disable the plugin when in a diff.
Closes #48.
2013-03-07 09:06:52 +10:00
Nate Kane
3b134f394d Fix comment. 2013-03-06 22:44:10 +10:00
Nate Kane
997bede1b5 Add option g:indent_guides_exclude_filetypes.
For specifying a list of filetypes to disable the plugin for.

Closes #20 and #26.
2013-03-06 22:43:57 +10:00
Sergey Vlasov
74c8bdeecb Added new g:indent_guides_soft_pattern option 2012-10-11 15:51:43 +03:00
Sergey Vlasov
d9fe8b1fcf Setting foreground colors with respect to background 2012-07-10 15:14:26 +03:00
Nate
f1c115ce5d Merge pull request #25 from mutewinter/master
Fix E803 ID not found spam.
2011-11-28 14:43:13 -08:00
Sam Lidder
bdf4ec3ff8 Added test to only use str2float if compiled with +float 2011-10-19 22:36:39 -04:00
Jeremy Mack
57b6da6d12 Fixes E803 ID not found spam 2011-09-28 21:19:41 -03:00
Ryan Souza
9d189306aa Added a flag for ignoring spaces
Added flag g:indent_guides_enable_on_vim_startup
Controls whether spaces are considered for indent calculating
2011-07-31 18:11:04 -07:00
Nate Kane
60f435ee57 Removed the indent_guides#get_indent_size function. 2011-03-13 21:32:28 +11:00
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
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
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
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
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
6fd0442a5d Renamed files so they have underscores instead of dashes and moved methods to autoload files 2010-12-07 20:00:59 +10:00