Tomáš Janoušek
a1e1390c01
fix: Use basic colors when termguicolors is off ( #155 )
...
indent_guides#gui_highlight_colors only sets guifg/guibg and we don't
want that when termguicolors is off.
Fixes: 3a4f7a6b99 ("feat: Enable adaption of colors from termguicolors (#143 )")
2023-03-18 22:37:41 +03:00
Sergey Vlasov
9a106c73f6
feat: Allow exclude files with no 'filetype' set
...
Closes #135 & #122
2023-02-22 11:53:28 +03:00
Caleb Maclennan
d96c8182d1
fix: Enable use in nested mappings by replacing :redir ( #152 )
...
Co-authored-by: Sergey Vlasov <sergey@vlasov.me >
2023-02-22 11:48:19 +03:00
Guangqing Chen
3a4f7a6b99
feat: Enable adaption of colors from termguicolors ( #143 )
2023-02-22 11:34:49 +03:00
Caleb Maclennan
c9d2473d5d
refactor: Use robust operators ==# or ==? instead of ==
2023-02-21 21:47:47 +03:00
somini
5111d5b10c
feat: Add option to check buftype option before enabling
...
Closes #101
Instead of only having a big list of "naughty" filetypes, have an option
to check for the `buftype` and skip if set to anything.
2023-02-21 21:27:28 +03:00
Caleb Maclennan
36b2d8d33c
Merge branch 'bugfix/GuideStyleClear'
2023-02-21 21:19:39 +03:00
Caleb Maclennan
63554a38bb
Use robust operators ==# or ==? instead of ==
2023-02-21 16:13:57 +03:00
Caleb Maclennan
8e6d5f7afd
refactor: Prefer single quoted strings
2023-02-21 16:11:54 +03:00
Caleb Maclennan
425bdc51fd
refactor: Use the abort attribute for functions in autoload
2023-02-21 16:10:14 +03:00
Caleb Maclennan
30323b167d
chore: Change GitHub namespace to new home under PreserVIM
2023-02-21 16:04:16 +03:00
yasuda
d382307613
IndentGuidesDisable: Clear IndentGuides{Even,Odd} matches
2022-06-27 18:20:44 +09:00
Nate Kane
6637da8436
Formatting
2016-04-17 21:07:43 +10:00
Nate Kane
67f3020a31
Merge branch 'feature_showtab_switch' of https://github.com/amerlyq/vim-indent-guides into amerlyq-feature_showtab_switch
...
* 'feature_showtab_switch' of https://github.com/amerlyq/vim-indent-guides :
Added symmetrical option to disable indents for tab
2016-04-17 21:03:37 +10:00
Dane Summers
5d9c055689
Adds support for neovim.
...
gui highlighting was broken after neovim revision 79a698 (removed support for
gui_running hack to check for truecolor support).
2016-03-01 11:26:02 -05:00
Dmytro Kolomoiets
470ef5e55f
Added symmetrical option to disable indents for tab
...
nathanaelkane/vim-indent-guides#102
2015-12-01 12:21:09 +02:00
Jacob Niehus
7ab92f7c3f
Set size of indent guide to tabstop value when noexpandtab is used
2015-03-22 22:11:32 +10:00
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