mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
General refactor & cleanup
This commit is contained in:
@ -119,8 +119,9 @@
|
||||
(set! :electric 'rjsx-mode :chars '(?\} ?\) ?. ?>))
|
||||
|
||||
;; disable electric keys (I use snippets and `emmet-mode' instead)
|
||||
(define-key rjsx-mode-map "<" nil)
|
||||
(define-key rjsx-mode-map (kbd "C-d") nil)
|
||||
(map! :map rjsx-mode-map
|
||||
"<" nil
|
||||
"C-d" nil)
|
||||
(add-hook! rjsx-mode
|
||||
;; jshint doesn't really know how to deal with jsx
|
||||
(push 'javascript-jshint flycheck-disabled-checkers)))
|
||||
|
Reference in New Issue
Block a user