<commit_before>(add-hook 'after-init-hook 'global-company-mode)
;;(company-mode 1)
;; don't know why company-clang-modes does not include c++-mode by default
(global-set-key (kbd "C-c o") 'company-complete)
(setq company-require-match nil)

(setq company-clang-modes '(c-mode objc-mode c++-mode))
(provide 'init-company)<commit_msg>make company-mode compatible with evil-mode<commit_after>(add-hook 'after-init-hook 'global-company-mode)
;;(company-mode 1)
;; don't know why company-clang-modes does not include c++-mode by default
(global-set-key (kbd "C-c o") 'company-complete)
(setq company-require-match nil)

(mapc #'evil-declare-change-repeat
      '(company-complete-common
        company-select-next
        company-select-previous
        company-complete-selection
        ))

(setq company-clang-modes '(c-mode objc-mode c++-mode))
(provide 'init-company)
{'fraction_non_alphanumeric': 0.15207373271889402, 'fraction_numerical': 0.002304147465437788, 'mean_word_length': 4.1726190476190474, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2433191', 'n_tokens_mistral': 304, 'n_tokens_neox': 289, 'n_words': 69}