General refactor & cleanup

This commit is contained in:
Henrik Lissner 2017-09-02 16:39:51 +02:00
parent 20fd0e6778
commit d28c64b4fa
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 11 additions and 14 deletions

View file

@ -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

View file

@ -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)))

View file

@ -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