More emacs changes
This commit is contained in:
parent
8ac380c72a
commit
9de1466713
2 changed files with 23 additions and 14 deletions
|
@ -22,6 +22,14 @@
|
|||
:custom (editorconfig-get-properties-function 'editorconfig-get-properties)
|
||||
:config (editorconfig-mode 1)
|
||||
)
|
||||
|
||||
;; R syntax support
|
||||
(use-package ess
|
||||
:init
|
||||
(load "ess-autoloads")
|
||||
:mode ("\\.r\\'" . ess-r-mode)
|
||||
:mode ("\\.R\\'" . ess-r-mode)
|
||||
)
|
||||
|
||||
;; Language server support
|
||||
(use-package lsp-mode
|
||||
|
@ -40,30 +48,21 @@
|
|||
:mode ("\\.md\\'" . markdown-mode)
|
||||
:mode ("\\.markdown\\'" . markdown-mode)
|
||||
)
|
||||
|
||||
;; YAML syntax support
|
||||
(use-package yaml-mode
|
||||
:mode "\\.yml\\'"
|
||||
:mode "\\.yaml\\'"
|
||||
)
|
||||
|
||||
;; Haskell language support
|
||||
(use-package haskell-mode
|
||||
:mode "\\.hs\\'"
|
||||
)
|
||||
|
||||
;; Folding
|
||||
(use-package origami
|
||||
:hook (prog-mode . origami-mode)
|
||||
)
|
||||
|
||||
;; Python syntax support
|
||||
(use-package python-mode
|
||||
:mode "\\.py\\'"
|
||||
)
|
||||
|
||||
;; R syntax support
|
||||
(use-package ess
|
||||
:init
|
||||
(load "ess-autoloads")
|
||||
:mode ("\\.r\\'" . ess-r-mode)
|
||||
:mode ("\\.R\\'" . ess-r-mode)
|
||||
)
|
||||
|
||||
;; Ruby language support
|
||||
(use-package ruby-mode
|
||||
|
@ -94,6 +93,12 @@
|
|||
:mode "\\.html\\'"
|
||||
:mode "\\.html\\.erb\\'"
|
||||
)
|
||||
|
||||
;; YAML syntax support
|
||||
(use-package yaml-mode
|
||||
:mode "\\.yml\\'"
|
||||
:mode "\\.yaml\\'"
|
||||
)
|
||||
''
|
||||
];
|
||||
development = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue