mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-09 10:23:46 -05:00
Improved Windows support
This commit is contained in:
@@ -172,6 +172,9 @@ function! indent_guides#init_script_vars()
|
|||||||
let s:guide_size = indent_guides#calculate_guide_size()
|
let s:guide_size = indent_guides#calculate_guide_size()
|
||||||
let s:hi_normal = indent_guides#capture_highlight('Normal')
|
let s:hi_normal = indent_guides#capture_highlight('Normal')
|
||||||
|
|
||||||
|
" remove 'font=<value>' from the s:hi_normal string (only seems to happen on Vim startup in Windows)
|
||||||
|
let s:hi_normal = substitute(s:hi_normal, ' font=[A-Za-z0-9:]\+', "", "")
|
||||||
|
|
||||||
" shortcuts to the global variables - this makes the code easier to read
|
" shortcuts to the global variables - this makes the code easier to read
|
||||||
let s:debug = g:indent_guides_debug
|
let s:debug = g:indent_guides_debug
|
||||||
let s:indent_levels = g:indent_guides_indent_levels
|
let s:indent_levels = g:indent_guides_indent_levels
|
||||||
|
|||||||
@@ -214,6 +214,7 @@ Bug reports, feedback, suggestions etc are welcomed.
|
|||||||
|
|
||||||
1.4~
|
1.4~
|
||||||
* Added the new plugin option g:|indent_guides_enable_on_vim_startup|.
|
* Added the new plugin option g:|indent_guides_enable_on_vim_startup|.
|
||||||
|
* Improved Windows support.
|
||||||
|
|
||||||
1.3~
|
1.3~
|
||||||
* Changed the default value of g:|indent_guides_color_change_percent| to 10.
|
* Changed the default value of g:|indent_guides_color_change_percent| to 10.
|
||||||
|
|||||||
Reference in New Issue
Block a user