emacs: add typescript, zine, ziggy, and pyvenv

This commit is contained in:
joachimschmidt557 2025-01-25 21:47:37 +01:00
parent 339589c8c3
commit 098699d70f
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -40,6 +40,7 @@
(straight-use-package 'glsl-mode) (straight-use-package 'glsl-mode)
(straight-use-package 'protobuf-mode) (straight-use-package 'protobuf-mode)
(straight-use-package 'typst-mode) (straight-use-package 'typst-mode)
(straight-use-package 'typescript-mode)
;; (straight-use-package '(promela-mode ;; (straight-use-package '(promela-mode
;; :type git ;; :type git
@ -56,6 +57,16 @@
:host github :host github
:repo "duzy/llvm-mode")) :repo "duzy/llvm-mode"))
(straight-use-package '(zine-mode
:type git
:host github
:repo "robbielyman/zine-mode"))
(straight-use-package '(ziggy-mode
:type git
:host github
:repo "robbielyman/ziggy-mode"))
(define-minor-mode remove-trailing-whitespace-mode (define-minor-mode remove-trailing-whitespace-mode
"Minor mode to remove trailing whitespace on every save" "Minor mode to remove trailing whitespace on every save"
(add-hook 'before-save-hook 'delete-trailing-whitespace)) (add-hook 'before-save-hook 'delete-trailing-whitespace))
@ -86,9 +97,10 @@
;; (straight-use-package 'mingus) ;; (straight-use-package 'mingus)
(straight-use-package 'ace-window) (straight-use-package 'ace-window)
;; (straight-use-package 'projectile) ;; (straight-use-package 'projectile)
(straight-use-package 'osm) ;; (straight-use-package 'osm)
(straight-use-package 'editorconfig) (straight-use-package 'editorconfig)
(straight-use-package 'exec-path-from-shell) (straight-use-package 'exec-path-from-shell)
(straight-use-package 'pyvenv)
;; Emacs Configuration ;; Emacs Configuration
(setq inhibit-splash-screen t) (setq inhibit-splash-screen t)
@ -200,3 +212,11 @@
:bind (("C-M-x" . embark-act))) :bind (("C-M-x" . embark-act)))
(use-package typst-mode) (use-package typst-mode)
(use-package ziggy-mode)
(use-package zine-mode)
(use-package eglot
:config
(add-to-list 'eglot-server-programs
'(svelte-mode . ("svelteserver" "--stdio"))))