configs/emacs: run eglot in ruby and perl modes

- format tv's kodi config
This commit is contained in:
Aaron Bieber 2024-05-28 13:10:17 -06:00
parent f92cbf576a
commit 2c400410f9
No known key found for this signature in database
2 changed files with 10 additions and 8 deletions

View File

@ -191,6 +191,8 @@ auto-completion stuff.
(add-hook 'elm-mode-hook 'eglot-ensure) (add-hook 'elm-mode-hook 'eglot-ensure)
(add-hook 'nix-mode-hook 'eglot-ensure) (add-hook 'nix-mode-hook 'eglot-ensure)
(add-hook 'typescript-mode-hook 'eglot-ensure) (add-hook 'typescript-mode-hook 'eglot-ensure)
(add-hook 'ruby-mode-hook 'eglot-ensure)
(add-hook 'perl-mode-hook 'eglot-ensure)
(define-key eglot-mode-map (kbd "C-c r") 'eglot-rename) (define-key eglot-mode-map (kbd "C-c r") 'eglot-rename)
(define-key eglot-mode-map (kbd "C-c f") 'eglot-format) (define-key eglot-mode-map (kbd "C-c f") 'eglot-format)
(add-hook 'before-save-hook 'eglot-format-buffer)) (add-hook 'before-save-hook 'eglot-format-buffer))

View File

@ -6,14 +6,14 @@ let
pubKeys = [ pubKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7v+/xS8832iMqJHCWsxUZ8zYoMWoZhjj++e26g1fLT europa" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7v+/xS8832iMqJHCWsxUZ8zYoMWoZhjj++e26g1fLT europa"
] ++ config.myconf.managementPubKeys; ] ++ config.myconf.managementPubKeys;
myKodi = pkgs.kodi.withPackages (kp: [ myKodi = pkgs.kodi.withPackages (kp: with kp; [
kp.somafm certifi
kp.jellyfin infotagger
kp.invidious invidious
kp.infotagger jellycon
kp.certifi jellyfin
kp.jellycon requests
kp.requests somafm
]); ]);
in in
{ {