General refactor & cleanup
This commit is contained in:
parent
20fd0e6778
commit
d28c64b4fa
6 changed files with 11 additions and 14 deletions
|
@ -76,7 +76,7 @@
|
|||
(c-set-offset 'inclass #'+cc--c-lineup-inclass)
|
||||
|
||||
|
||||
;; Certain mappings interfere with smartparens and custom bindings,
|
||||
;; Certain electric mappings interfere with smartparens and custom bindings,
|
||||
;; so unbind them
|
||||
(map! :map c-mode-map
|
||||
"DEL" nil
|
||||
|
|
|
@ -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)))
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
;;; lang/markdown/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! markdown-mode
|
||||
:mode ("/README\\.md$" . gfm-mode)
|
||||
:mode "\\.m\\(d\\|arkdown\\)$"
|
||||
:mode "/README$"
|
||||
:mode "\\.m\\(d\\|arkdown\\)$"
|
||||
:mode ("/README\\.md$" . gfm-mode)
|
||||
:init
|
||||
(setq markdown-enable-wiki-links t
|
||||
markdown-enable-math t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue