More language support in emacs
This commit is contained in:
parent
6c52172718
commit
8253875008
1 changed files with 15 additions and 0 deletions
|
@ -89,6 +89,9 @@
|
||||||
;; Direnv integration in emacs.
|
;; Direnv integration in emacs.
|
||||||
(use-package direnv :config (direnv-mode))
|
(use-package direnv :config (direnv-mode))
|
||||||
|
|
||||||
|
;; Editorconfig
|
||||||
|
(use-package editorconfig :config (editorconfig-mode 1))
|
||||||
|
|
||||||
;; Vim keybindings
|
;; Vim keybindings
|
||||||
(use-package evil
|
(use-package evil
|
||||||
:custom
|
:custom
|
||||||
|
@ -392,12 +395,20 @@
|
||||||
"ps" '(consult-ripgrep :search "incsearch")
|
"ps" '(consult-ripgrep :search "incsearch")
|
||||||
"pS" '(projectile-ripgrep :which-key "search")
|
"pS" '(projectile-ripgrep :which-key "search")
|
||||||
"p!" '(projectile-run-shell-command-in-root :which-key "command")
|
"p!" '(projectile-run-shell-command-in-root :which-key "command")
|
||||||
|
"p&" '(projectile-run-async-shell-command-in-root :which-key "task")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Python syntax support
|
;; Python syntax support
|
||||||
(use-package python-mode :mode "\\.py\\'")
|
(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')
|
;; Ripgrep support (needed for `projectile-ripgrep')
|
||||||
(use-package ripgrep)
|
(use-package ripgrep)
|
||||||
|
|
||||||
|
@ -413,6 +424,10 @@
|
||||||
:custom (selectrum-prescient-enable-filtering nil "`orderless' manages the filtering part.")
|
:custom (selectrum-prescient-enable-filtering nil "`orderless' manages the filtering part.")
|
||||||
:config (selectrum-prescient-mode 1))
|
:config (selectrum-prescient-mode 1))
|
||||||
|
|
||||||
|
;; TypeScript language support
|
||||||
|
(use-package tide
|
||||||
|
:mode "\\.ts'")
|
||||||
|
|
||||||
;; HTML (and HTML template) support
|
;; HTML (and HTML template) support
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
:mode "\\.html'"
|
:mode "\\.html'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue