Remove dtrt-indent entries for crystal, rust & scala

They were merged upstream in jscheid/dtrt-indent/pull/49
This commit is contained in:
Henrik Lissner 2019-10-19 15:01:37 -04:00
parent 4a1c781fab
commit e1edbcb3d9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 1 additions and 11 deletions

View file

@ -7,9 +7,7 @@
(set-eval-handler! 'crystal-mode (set-eval-handler! 'crystal-mode
'((:command . "crystal") '((:command . "crystal")
(:exec . "%c %s") (:exec . "%c %s")
(:description . "Run Crystal script"))) (:description . "Run Crystal script"))))
(after! dtrt-indent
(add-to-list 'dtrt-indent-hook-mapping-list '(crystal-mode ruby crystal-indent-level))))
(use-package! flycheck-crystal (use-package! flycheck-crystal

View file

@ -21,11 +21,6 @@
(when (featurep! +lsp) (when (featurep! +lsp)
(add-hook 'rust-mode-local-vars-hook #'lsp!)) (add-hook 'rust-mode-local-vars-hook #'lsp!))
;; TODO PR these upstream
(after! dtrt-indent
(pushnew! dtrt-indent-hook-mapping-list
'(rust-mode default rust-indent-offset)
'(rustic-mode default rustic-indent-offset)))
(when (featurep! :tools editorconfig) (when (featurep! :tools editorconfig)
(after! editorconfig (after! editorconfig
(pushnew! editorconfig-indentation-alist (pushnew! editorconfig-indentation-alist

View file

@ -8,9 +8,6 @@
(setq-hook! 'scala-mode-hook (setq-hook! 'scala-mode-hook
comment-line-break-function #'+scala-comment-indent-new-line) comment-line-break-function #'+scala-comment-indent-new-line)
(after! dtrt-indent
(add-to-list 'dtrt-indent-hook-mapping-list '(scala-mode c/c++/java scala-indent:step)))
(when (featurep! +lsp) (when (featurep! +lsp)
(add-hook 'scala-mode-local-vars-hook #'lsp!))) (add-hook 'scala-mode-local-vars-hook #'lsp!)))