Remove dtrt-indent entries for crystal, rust & scala
They were merged upstream in jscheid/dtrt-indent/pull/49
This commit is contained in:
parent
4a1c781fab
commit
e1edbcb3d9
3 changed files with 1 additions and 11 deletions
|
@ -7,9 +7,7 @@
|
|||
(set-eval-handler! 'crystal-mode
|
||||
'((:command . "crystal")
|
||||
(:exec . "%c %s")
|
||||
(:description . "Run Crystal script")))
|
||||
(after! dtrt-indent
|
||||
(add-to-list 'dtrt-indent-hook-mapping-list '(crystal-mode ruby crystal-indent-level))))
|
||||
(:description . "Run Crystal script"))))
|
||||
|
||||
|
||||
(use-package! flycheck-crystal
|
||||
|
|
|
@ -21,11 +21,6 @@
|
|||
(when (featurep! +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)
|
||||
(after! editorconfig
|
||||
(pushnew! editorconfig-indentation-alist
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
(setq-hook! 'scala-mode-hook
|
||||
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)
|
||||
(add-hook 'scala-mode-local-vars-hook #'lsp!)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue