<commit_before>" MIT License. Copyright (c) 2013 <NAME>.
" vim: et ts=2 sts=2 sw=2

if !get(g:, 'loaded_signify', 0) && !get(g:, 'loaded_gitgutter', 0)
  finish
endif

let s:non_zero_only = get(g:, 'airline#extensions#hunks#non_zero_only', 0)
let s:hunk_symbols = get(g:, 'airline#extensions#hunks#hunk_symbols', ['+', '~', '-'])

function! s:get_hunks_signify()
  let hunks = sy#repo#get_stats()
  if hunks[0] >= 0
    return hunks
  endif
  return []
endfunction

function! s:get_hunks_gitgutter()
  if !get(g:, 'gitgutter_enabled', 0)
    return ''
  endif
  return GitGutterGetHunkSummary()
endfunction

function! s:get_hunks_empty()
  return ''
endfunction

let s:source_func = ''<commit_msg>Hide hunks when Git Gutter is enabled, but current file is NOT under git version control<commit_after>" MIT License. Copyright (c) 2013 <NAME>.
" vim: et ts=2 sts=2 sw=2

if !get(g:, 'loaded_signify', 0) && !get(g:, 'loaded_gitgutter', 0)
  finish
endif

let s:non_zero_only = get(g:, 'airline#extensions#hunks#non_zero_only', 0)
let s:hunk_symbols = get(g:, 'airline#extensions#hunks#hunk_symbols', ['+', '~', '-'])

function! s:get_hunks_signify()
  let hunks = sy#repo#get_stats()
  if hunks[0] >= 0
    return hunks
  endif
  return []
endfunction

function! s:get_hunks_gitgutter()
  if !get(g:, 'gitgutter_enabled', 0) || airline#extensions#branch#get_head() ==
    \ get(g:, 'airline#extensions#branch#empty_message', get(g:, 'airline_branch_empty_message', ''))
      return ''
  endif
  return GitGutterGetHunkSummary()
endfunction

function! s:get_hunks_empty()
  return ''
endfunction

let s:source_func = ''
{'fraction_non_alphanumeric': 0.15594059405940594, 'fraction_numerical': 0.01608910891089109, 'mean_word_length': 5.520161290322581, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2961312', 'n_tokens_mistral': 670, 'n_tokens_neox': 629, 'n_words': 140}