<commit_before>;;; lang/emacs-lisp/+parinfer.el -*- lexical-binding: t; -*-


(def-package! parinfer
  :commands (parinfer-mode)
  :init
  (add-hook! (emacs-lisp-mode
              clojure-mode
              common-lisp-mode
              scheme-mode
              lisp-mode)
    (yas-minor-mode -1)
    (parinfer-mode))
  (setq parinfer-extensions
        '(defaults
           pretty-parens
           smart-tab
           smart-yank))
  (if (featurep! :feature evil)
      (push 'evil parinfer-extensions))
  :config
  (map! :map parinfer-mode-map
        :i "<tab>" #'parinfer-smart-tab:dwim-right
        :i "<backtab>" #'parinfer-smart-tab:dwim-left
        :localleader
        :nv "m" #'parinfer-toggle-mode))<commit_msg>Add yasnippet back to parinfer<commit_after>;;; lang/emacs-lisp/+parinfer.el -*- lexical-binding: t; -*-


(def-package! parinfer
  :commands (parinfer-mode)
  :init
  (add-hook! (emacs-lisp-mode
              clojure-mode
              common-lisp-mode
              scheme-mode
              lisp-mode)
    (parinfer-mode))
  (setq parinfer-extensions
        '(defaults
           pretty-parens
           smart-tab
           smart-yank))
  (if (featurep! :feature evil)
      (push 'evil parinfer-extensions))
  :config
  (map! :map parinfer-mode-map
        :i "<tab>" #'parinfer-smart-tab:dwim-right-or-complete
        :i "<backtab>" #'parinfer-smart-tab:dwim-left
        :localleader
        :nv "m" #'parinfer-toggle-mode))
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.000683526999316473, 'mean_word_length': 2.024793388429752, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2210926', 'n_tokens_mistral': 531, 'n_tokens_neox': 498, 'n_words': 91}