diff --git a/modules/emacs/init.el b/modules/emacs/init.el index 00e257e4..0b98e1e4 100644 --- a/modules/emacs/init.el +++ b/modules/emacs/init.el @@ -89,6 +89,9 @@ ;; Direnv integration in emacs. (use-package direnv :config (direnv-mode)) +;; Editorconfig +(use-package editorconfig :config (editorconfig-mode 1)) + ;; Vim keybindings (use-package evil :custom @@ -392,12 +395,20 @@ "ps" '(consult-ripgrep :search "incsearch") "pS" '(projectile-ripgrep :which-key "search") "p!" '(projectile-run-shell-command-in-root :which-key "command") + "p&" '(projectile-run-async-shell-command-in-root :which-key "task") ) ) ;; Python syntax support (use-package python-mode :mode "\\.py\\'") +;; Ruby language support +(use-package ruby-mode + :ensure nil ;; Included with emacs + :custom + (ruby-insert-encoding-magic-comment nil "Don't insert encoding magic comment") + ) + ;; Ripgrep support (needed for `projectile-ripgrep') (use-package ripgrep) @@ -413,6 +424,10 @@ :custom (selectrum-prescient-enable-filtering nil "`orderless' manages the filtering part.") :config (selectrum-prescient-mode 1)) +;; TypeScript language support +(use-package tide + :mode "\\.ts'") + ;; HTML (and HTML template) support (use-package web-mode :mode "\\.html'"