mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Construct variable on one line for clarity.
This commit is contained in:
@@ -307,8 +307,8 @@ endfunction
|
||||
function! s:show_signs(file_name, modified_lines)
|
||||
for line in a:modified_lines
|
||||
let line_number = line[0]
|
||||
let type = s:snake_case_to_camel_case(line[1])
|
||||
call s:add_sign(line_number, 'GitGutterLine' . type, a:file_name)
|
||||
let type = 'GitGutterLine' . s:snake_case_to_camel_case(line[1])
|
||||
call s:add_sign(line_number, type, a:file_name)
|
||||
endfor
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user