Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
This commit is contained in:
parent
50fdaa0ed5
commit
7d3ffdff06
101 changed files with 64 additions and 283 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
;;
|
||||
;; Library
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +cc-sp-point-is-template-p (id action context)
|
||||
|
@ -89,7 +88,6 @@ preceded by the opening brace or a comma (disregarding whitespace in between)."
|
|||
|
||||
;;
|
||||
;; Commands
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +cc/reload-compile-db ()
|
||||
|
@ -125,7 +123,6 @@ preceded by the opening brace or a comma (disregarding whitespace in between)."
|
|||
|
||||
;;
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +cc|fontify-constants ()
|
||||
|
|
|
@ -20,8 +20,7 @@ compilation database is present in the project.")
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! cc-mode
|
||||
:commands (c-mode c++-mode objc-mode java-mode)
|
||||
|
@ -159,22 +158,18 @@ compilation database is present in the project.")
|
|||
|
||||
;;
|
||||
;; Major modes
|
||||
;;
|
||||
|
||||
;; `cmake-mode'
|
||||
(def-package! company-cmake
|
||||
(def-package! company-cmake ; for `cmake-mode'
|
||||
:when (featurep! :completion company)
|
||||
:after cmake-mode
|
||||
:config (set-company-backend! 'cmake-mode 'company-cmake))
|
||||
|
||||
|
||||
;; `demangle-mode'
|
||||
(def-package! demangle-mode
|
||||
:hook llvm-mode)
|
||||
|
||||
|
||||
;; `glsl-mode'
|
||||
(def-package! company-glsl
|
||||
(def-package! company-glsl ; for `glsl-mode'
|
||||
:when (featurep! :completion company)
|
||||
:after glsl-mode
|
||||
:config (set-company-backend! 'glsl-mode 'company-glsl))
|
||||
|
@ -182,7 +177,6 @@ compilation database is present in the project.")
|
|||
|
||||
;;
|
||||
;; Rtags Support
|
||||
;;
|
||||
|
||||
(def-package! rtags
|
||||
:when (featurep! +rtags)
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
cider-stacktrace-default-filters '(tooling dup)
|
||||
cider-prompt-save-file-on-load nil
|
||||
cider-repl-use-clojure-font-lock t)
|
||||
|
||||
(map! :map cider-mode-map
|
||||
:localleader
|
||||
:n "'" #'cider-jack-in
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
(set-company-backend! 'nxml-mode '(company-nxml company-yasnippet)))
|
||||
|
||||
|
||||
;;
|
||||
;; Third-party plugins
|
||||
;;
|
||||
|
||||
|
@ -37,7 +36,6 @@
|
|||
:mode "\\.?vimperatorrc\\'")
|
||||
|
||||
|
||||
;;
|
||||
;; Frameworks
|
||||
;;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
;;
|
||||
;; Library
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +emacs-lisp-eval (beg end)
|
||||
|
@ -73,7 +72,6 @@ library/userland functions"
|
|||
|
||||
;;
|
||||
;; Commands
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +emacs-lisp/repl ()
|
||||
|
@ -89,7 +87,6 @@ library/userland functions"
|
|||
|
||||
;;
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +emacs-lisp|extend-imenu ()
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
(defvar +emacs-lisp-enable-extra-fontification t
|
||||
"If non-nil, highlight special forms, and defined functions and variables.")
|
||||
|
||||
|
||||
;;
|
||||
;; elisp-mode deferral hack
|
||||
;;
|
||||
|
||||
;; `elisp-mode' is loaded at startup. In order to lazy load its config we need
|
||||
;; to pretend it isn't loaded
|
||||
|
@ -27,7 +27,6 @@
|
|||
|
||||
;;
|
||||
;; Config
|
||||
;;
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.Cask\\'" . emacs-lisp-mode))
|
||||
|
||||
|
@ -77,8 +76,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
;; `auto-compile'
|
||||
(setq auto-compile-display-buffer nil
|
||||
|
@ -124,7 +122,6 @@
|
|||
|
||||
;;
|
||||
;; Project modes
|
||||
;;
|
||||
|
||||
(def-project-mode! +emacs-lisp-ert-mode
|
||||
:modes (emacs-lisp-mode)
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
;;
|
||||
;; Tests
|
||||
;;
|
||||
|
||||
(defvar +go-test-last nil
|
||||
"The last test run.")
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
;;; lang/go/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(after! go-mode
|
||||
(set-env! "GOPATH" "GOROOT")
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
((featurep! +dante) (load! "+dante")))
|
||||
|
||||
;;
|
||||
;; Common plugins
|
||||
;;
|
||||
;; Common packages
|
||||
|
||||
(after! haskell-mode
|
||||
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Common plugins
|
||||
;;
|
||||
;; Common packages
|
||||
|
||||
(def-package! android-mode
|
||||
:commands android-mode
|
||||
|
|
|
@ -34,7 +34,6 @@ ignore the cache."
|
|||
|
||||
;;
|
||||
;; Commands
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +javascript/repl ()
|
||||
|
@ -82,7 +81,6 @@ Run this for any buffer you want to skewer."
|
|||
|
||||
;;
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +javascript|add-node-modules-path ()
|
||||
|
@ -112,7 +110,6 @@ prioritize project-local packages over global ones."
|
|||
|
||||
;;
|
||||
;; Advice
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +javascript*tide-project-root ()
|
||||
|
|
|
@ -23,8 +23,7 @@ If no viewers are found, `latex-preview-pane' is used.")
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! tex
|
||||
:mode ("\\.tex\\'" . TeX-latex-mode)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
;; sp's default rules are obnoxious, so disable them
|
||||
(provide 'smartparens-lua)
|
||||
|
||||
|
||||
(after! lua-mode
|
||||
(set-lookup-handlers! 'lua-mode :documentation 'lua-search-documentation)
|
||||
(set-electric! 'lua-mode :words '("else" "end"))
|
||||
|
@ -16,7 +17,6 @@
|
|||
|
||||
;;
|
||||
;; Frameworks
|
||||
;;
|
||||
|
||||
(def-project-mode! +lua-love-mode
|
||||
:modes (lua-mode markdown-mode json-mode)
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! org-download
|
||||
:commands (org-download-dnd org-download-dnd-base64)
|
||||
|
@ -70,7 +69,6 @@
|
|||
|
||||
;;
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
(defun +org|init-attach ()
|
||||
(setq org-attach-directory (expand-file-name +org-attach-dir org-directory))
|
||||
|
|
|
@ -53,8 +53,7 @@ string). Stops at the first function to return non-nil.")
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! ob-ipython
|
||||
:when (featurep! +ipython)
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! ox-reveal
|
||||
:defer t
|
||||
|
@ -43,8 +42,6 @@
|
|||
|
||||
;;
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
(defun +org|init-present ()
|
||||
(require 'ox-reveal))
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ the cursor."
|
|||
|
||||
;;
|
||||
;; Advice
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-attach*insert-link (_link filename)
|
||||
|
|
|
@ -22,7 +22,6 @@ current file). Only scans first 2048 bytes of the document."
|
|||
|
||||
;;
|
||||
;; Modes
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode +org-pretty-mode
|
||||
|
@ -39,7 +38,6 @@ current file). Only scans first 2048 bytes of the document."
|
|||
|
||||
;;
|
||||
;; Commands
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +org/dwim-at-point ()
|
||||
|
@ -314,7 +312,6 @@ another level of headings on each invocation."
|
|||
|
||||
;;
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +org|delete-backward-char-and-realign-table-maybe ()
|
||||
|
@ -419,7 +416,6 @@ with `org-cycle')."
|
|||
|
||||
;;
|
||||
;; Advice
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +org*fix-newline-and-indent-in-src-blocks ()
|
||||
|
|
|
@ -15,8 +15,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
;; `toc-org'
|
||||
(setq toc-org-hrefify-default "org")
|
||||
|
@ -39,7 +38,6 @@
|
|||
|
||||
;;
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
(add-hook! 'org-load-hook
|
||||
#'(org-crypt-use-before-save-magic
|
||||
|
@ -68,7 +66,6 @@
|
|||
|
||||
;;
|
||||
;; `org-mode' hooks
|
||||
;;
|
||||
|
||||
(defun +org|unfold-to-2nd-level-or-point ()
|
||||
"My version of the 'overview' #+STARTUP option: expand first-level headings.
|
||||
|
@ -118,7 +115,6 @@ unfold to point on startup."
|
|||
|
||||
;;
|
||||
;; `org-load' hooks
|
||||
;;
|
||||
|
||||
(defun +org|setup-agenda ()
|
||||
(setq-default
|
||||
|
@ -404,7 +400,6 @@ conditions where a window's buffer hasn't changed at the time this hook is run."
|
|||
|
||||
;;
|
||||
;; Built-in libraries
|
||||
;;
|
||||
|
||||
(def-package! org-crypt ; built-in
|
||||
:commands org-crypt-use-before-save-magic
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
|
||||
;;
|
||||
;; Projects
|
||||
;;
|
||||
|
||||
(def-project-mode! +php-laravel-mode
|
||||
:modes (php-mode yaml-mode web-mode nxml-mode js2-mode scss-mode)
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! python
|
||||
:defer t
|
||||
|
@ -126,7 +125,6 @@
|
|||
|
||||
;;
|
||||
;; Environment management
|
||||
;;
|
||||
|
||||
(def-package! pipenv
|
||||
:commands pipenv-project-p
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! enh-ruby-mode
|
||||
:mode "\\.rb\\'"
|
||||
|
@ -114,7 +113,6 @@
|
|||
|
||||
;;
|
||||
;; Version managers
|
||||
;;
|
||||
|
||||
(def-package! rbenv
|
||||
:when (featurep! +rbenv)
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
(def-package! sh-script ; built-in
|
||||
:mode ("\\.zunit\\'" . sh-mode)
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
;;; lang/solidity/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
;; `solidity-mode'
|
||||
(setq solidity-comment-style 'slash)
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
|
||||
|
||||
;;
|
||||
;; Frameworks
|
||||
;;
|
||||
;; Framework-based minor-modes
|
||||
|
||||
(def-project-mode! +web-jekyll-mode
|
||||
:modes (web-mode js-mode coffee-mode css-mode haml-mode pug-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue