<commit_before>function! coil398#init#ale#hook_add() abort
    highlight clear ALEError
    highlight clear ALEWarning
    let g:ale_lint_on_enter = 0
    let g:ale_sign_column_always = 1
    let g:ale_set_loclist = 0
    let g:ale_set_quickfix = 1
    "let g:ale_open_list = 1
    "let g:ale_keep_list_window_open = 1
endfunction<commit_msg>ale linter uses clangd for c or cpp<commit_after>function! coil398#init#ale#hook_add() abort
    highlight clear ALEError
    highlight clear ALEWarning
    let g:ale_lint_on_enter = 0
    let g:ale_sign_column_always = 1
    let g:ale_set_loclist = 0
    let g:ale_set_quickfix = 1
    "let g:ale_open_list = 1
    "let g:ale_keep_list_window_open = 1
    if has('mac')
        let s:header_path = '-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include'
        let g:ale_cpp_clang_options = '-std=c++14 -Wall ' . s:header_path
        let g:ale_cpp_gcc_options = '-std=c++14 -Wall ' . s:header_path
    endif
    let g:ale_linters = {
                \ 'c': ['clangd'],
                \ 'cpp' : ['clangd']
                \ }
endfunction
{'fraction_non_alphanumeric': 0.09827115559599636, 'fraction_numerical': 0.023657870791628753, 'mean_word_length': 2.9711191335740073, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '515441', 'n_tokens_mistral': 429, 'n_tokens_neox': 398, 'n_words': 84}