<commit_before>;;; edit-server-conf.el --- Settings for edit-server
;;
;;; Commentary:
;;
;;; Code:
(require 'edit-server)

(custom-set-variables
 '(edit-server-new-frame nil)
 '(edit-server-default-major-mode 'markdown-mode))

;; Fix a really buggy issue with edit-server:
(define-key edit-server-edit-mode-map (kbd "C-x C-s") #'save-buffer)

;;; edit-server-conf.el ends here
<commit_msg>edit-server: Make sure markdown-mode formats correctly<commit_after>;;; edit-server-conf.el --- Settings for edit-server
;;
;;; Commentary:
;;
;;; Code:
(require 'edit-server)
(require 'markdown-mode)

(custom-set-variables
 '(edit-server-new-frame nil)
 '(edit-server-default-major-mode 'markdown-mode))

;; Fix a really buggy issue with edit-server:
(define-key edit-server-edit-mode-map (kbd "C-x C-s") #'save-buffer)

;; Put markdown-mode into the right state:
(add-hook 'edit-server-edit-mode-hook #'pjones:markdown-visual-line)

;;; edit-server-conf.el ends here

{'fraction_non_alphanumeric': 0.17935349322210636, 'fraction_numerical': 0.0, 'mean_word_length': 4.517241379310345, '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': '1042707', 'n_tokens_mistral': 347, 'n_tokens_neox': 343, 'n_words': 76}