<commit_before>;;; lsp.el --- Language Server Protocol -*- lexical-binding: t; -*-

;;; Commentary:
;; Servant of languages.

;;; Code:

(eval-when-compile
  (require 'base-vars)
  (require 'base-package))

(req-package eglot
  :hook
  (js2-mode . eglot-ensure)
  (ruby-mode . eglot-ensure)
  (sh-mode . eglot-ensure)
  :init
  (set-popup-buffer (rx bos "*EGLOT" (one-or-more anything) "*" eos)))

(provide 'feature-lsp)
;;; lsp.el ends here<commit_msg>feature: fix LSP definition and help lookup<commit_after>;;; lsp.el --- Language Server Protocol -*- lexical-binding: t; -*-

;;; Commentary:
;; Servant of languages.

;;; Code:

(eval-when-compile
  (require 'base-vars)
  (require 'base-package))

(req-package eglot
  :general
  (:keymaps 'eglot-mode-map :states 'normal
            "K" 'eglot-help-at-point)
  :hook
  (js2-mode  . eglot-ensure)
  (ruby-mode . eglot-ensure)
  (sh-mode   . eglot-ensure)
  :init
  (with-eval-after-load 'smart-jump
    (smart-jump-register :modes '(js2-mode ruby-mode sh-mode)))
  (set-popup-buffer (rx bos "*EGLOT" (one-or-more anything) "*" eos)))

(provide 'feature-lsp)
;;; lsp.el ends here
{'fraction_non_alphanumeric': 0.18197879858657243, 'fraction_numerical': 0.00265017667844523, 'mean_word_length': 3.3576923076923078, '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': '6231464', 'n_tokens_mistral': 449, 'n_tokens_neox': 439, 'n_words': 97}