init.example.el: disable with two semicolons

This avoids disruptive behavior where aggressive reformatting tools --
like parinfer, aggressive-indent, the elisp formatter (in the
editor/format module), or even Emacs' own indent-according-to-mode
command -- will reindent lines commented with one semicolon far to the
right.
This commit is contained in:
Henrik Lissner 2018-09-22 15:10:06 -04:00
parent 74af5bde26
commit 5fd0699158

View file

@ -2,7 +2,7 @@
;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me! ;; Copy me to ~/.doom.d/init.el or ~/.config/doom/init.el, then edit me!
(doom! :feature (doom! :feature
;debugger ; FIXME stepping through code, to help you add bugs ;;debugger ; FIXME stepping through code, to help you add bugs
eval ; run code, run (also, repls) eval ; run code, run (also, repls)
(evil +everywhere); come to the dark side, we have cookies (evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files file-templates ; auto-snippets for empty files
@ -19,136 +19,136 @@
+auto) ; as-you-type code completion +auto) ; as-you-type code completion
(helm ; the *other* search engine for love and life (helm ; the *other* search engine for love and life
+fuzzy) ; enable fuzzy search backend for helm +fuzzy) ; enable fuzzy search backend for helm
;ido ; the other *other* search engine... ;;ido ; the other *other* search engine...
;(ivy ; a search engine for love and life ;;(ivy ; a search engine for love and life
; +fuzzy) ; enable fuzzy search backend for ivy ;; +fuzzy) ; enable fuzzy search backend for ivy
:ui :ui
;deft ; notational velocity for Emacs ;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs doom-dashboard ; a nifty splash screen for Emacs
doom-modeline ; a snazzy Atom-inspired mode-line doom-modeline ; a snazzy Atom-inspired mode-line
doom-quit ; DOOM quit-message prompts when you quit Emacs doom-quit ; DOOM quit-message prompts when you quit Emacs
evil-goggles ; display visual hints when editing in evil evil-goggles ; display visual hints when editing in evil
;fci ; a `fill-column' indicator ;;fci ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE tags hl-todo ; highlight TODO/FIXME/NOTE tags
;modeline ; snazzy, Atom-inspired modeline, plus API ;;modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink the current line after jumping nav-flash ; blink the current line after jumping
;neotree ; a project drawer, like NERDTree for vim ;;neotree ; a project drawer, like NERDTree for vim
treemacs ; a project drawer, like neotree but cooler treemacs ; a project drawer, like neotree but cooler
(popup ; tame sudden yet inevitable temporary windows (popup ; tame sudden yet inevitable temporary windows
+all ; catch all popups that start with an asterix +all ; catch all popups that start with an asterix
+defaults) ; default popup rules +defaults) ; default popup rules
;pretty-code ; replace bits of code with pretty symbols ;;pretty-code ; replace bits of code with pretty symbols
;tabbar ; FIXME an (incomplete) tab bar for Emacs ;;tabbar ; FIXME an (incomplete) tab bar for Emacs
;unicode ; extended unicode support for various languages ;;unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows window-select ; visually switch windows
:editor :editor
;(format +onsave) ; automated prettiness ;;(format +onsave) ; automated prettiness
multiple-cursors ; editing in many places at once multiple-cursors ; editing in many places at once
;parinfer ; turn lisp into python, sort of ;;parinfer ; turn lisp into python, sort of
rotate-text ; cycle region at point between text candidates rotate-text ; cycle region at point between text candidates
:emacs :emacs
dired ; making dired pretty [functional] dired ; making dired pretty [functional]
ediff ; comparing files in Emacs ediff ; comparing files in Emacs
electric ; smarter, keyword-based electric-indent electric ; smarter, keyword-based electric-indent
;eshell ; a consistent, cross-platform shell (WIP) ;;eshell ; a consistent, cross-platform shell (WIP)
hideshow ; basic code-folding support hideshow ; basic code-folding support
imenu ; an imenu sidebar and searchable code index imenu ; an imenu sidebar and searchable code index
;term ; terminals in Emacs ;;term ; terminals in Emacs
vc ; version-control and Emacs, sitting in a tree vc ; version-control and Emacs, sitting in a tree
:tools :tools
;ansible ;;ansible
;docker ;;docker
editorconfig ; let someone else argue about tabs vs spaces editorconfig ; let someone else argue about tabs vs spaces
;ein ; tame Jupyter notebooks with emacs ;;ein ; tame Jupyter notebooks with emacs
;gist ; interacting with github gists ;;gist ; interacting with github gists
;macos ; MacOS-specific commands ;;macos ; MacOS-specific commands
;make ; run make tasks from Emacs ;;make ; run make tasks from Emacs
;magit ; a git porcelain for Emacs ;;magit ; a git porcelain for Emacs
;password-store ; password manager for nerds ;;password-store ; password manager for nerds
;pdf ; pdf enhancements ;;pdf ; pdf enhancements
;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;rgb ; creating color strings ;;rgb ; creating color strings
;tmux ; an API for interacting with tmux ;;tmux ; an API for interacting with tmux
;upload ; map local to remote projects via ssh/ftp ;;upload ; map local to remote projects via ssh/ftp
;wakatime ;;wakatime
:lang :lang
;assembly ; assembly for fun or debugging ;;assembly ; assembly for fun or debugging
;(cc +irony +rtags); C/C++/Obj-C madness ;;(cc +irony +rtags); C/C++/Obj-C madness
;clojure ; java with a lisp ;;clojure ; java with a lisp
;common-lisp ; if you've seen one lisp, you've seen them all ;;common-lisp ; if you've seen one lisp, you've seen them all
;coq ; proofs-as-programs ;;coq ; proofs-as-programs
;crystal ; ruby at the speed of c ;;crystal ; ruby at the speed of c
;csharp ; unity, .NET, and mono shenanigans ;;csharp ; unity, .NET, and mono shenanigans
data ; config/data formats data ; config/data formats
;erlang ; an elegant language for a more civilized age ;;erlang ; an elegant language for a more civilized age
;elixir ; erlang done right ;;elixir ; erlang done right
;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;ess ; emacs speaks statistics ;;ess ; emacs speaks statistics
;go ; the hipster dialect ;;go ; the hipster dialect
;(haskell +intero) ; a language that's lazier than I am ;;(haskell +intero) ; a language that's lazier than I am
;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;idris ; ;;idris ;
;(java +meghanada) ; the poster child for carpal tunnel syndrome ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
;javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;javascript ; all(hope(abandon(ye(who(enter(here))))))
;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
;latex ; writing papers in Emacs has never been so fun ;;latex ; writing papers in Emacs has never been so fun
;ledger ; an accounting system in Emacs ;;ledger ; an accounting system in Emacs
;lua ; one-based indices? one-based indices ;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore markdown ; writing docs for people to ignore
;nim ; python + lisp at the speed of c ;;nim ; python + lisp at the speed of c
;nix ; I hereby declare "nix geht mehr!" ;;nix ; I hereby declare "nix geht mehr!"
;ocaml ; an objective camel ;;ocaml ; an objective camel
(org ; organize your plain life in plain text (org ; organize your plain life in plain text
+attach ; custom attachment system +attach ; custom attachment system
+babel ; running code in org +babel ; running code in org
+capture ; org-capture in and outside of Emacs +capture ; org-capture in and outside of Emacs
+export ; Exporting org to whatever you want +export ; Exporting org to whatever you want
+present) ; Emacs for presentations +present) ; Emacs for presentations
;perl ; write code no one else can comprehend ;;perl ; write code no one else can comprehend
;php ; perl's insecure younger brother ;;php ; perl's insecure younger brother
;plantuml ; diagrams for confusing people more ;;plantuml ; diagrams for confusing people more
;purescript ; javascript, but functional ;;purescript ; javascript, but functional
;python ; beautiful is better than ugly ;;python ; beautiful is better than ugly
;qt ; the 'cutest' gui framework ever ;;qt ; the 'cutest' gui framework ever
;racket ; a DSL for DSLs ;;racket ; a DSL for DSLs
;rest ; Emacs as a REST client ;;rest ; Emacs as a REST client
;ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;scala ; java, but good ;;scala ; java, but good
(sh +fish) ; she sells (ba|z|fi)sh shells on the C xor (sh +fish) ; she sells (ba|z|fi)sh shells on the C xor
;solidity ; do you need a blockchain? No. ;;solidity ; do you need a blockchain? No.
;swift ; who asked for emoji variables? ;;swift ; who asked for emoji variables?
;web ; the tubes ;;web ; the tubes
;; Applications are complex and opinionated modules that transform Emacs ;; Applications are complex and opinionated modules that transform Emacs
;; toward a specific purpose. They may have additional dependencies and ;; toward a specific purpose. They may have additional dependencies and
;; should be loaded late. ;; should be loaded late.
:app :app
;(email +gmail) ; emacs as an email client ;;(email +gmail) ; emacs as an email client
;irc ; how neckbeards socialize ;;irc ; how neckbeards socialize
;(rss +org) ; emacs as an RSS reader ;;(rss +org) ; emacs as an RSS reader
;twitter ; twitter client https://twitter.com/vnought ;;twitter ; twitter client https://twitter.com/vnought
;(write ; emacs as a word processor (latex + org + markdown) ;;(write ; emacs as a word processor (latex + org + markdown)
; +wordnut ; wordnet (wn) search ;; +wordnut ; wordnet (wn) search
; +langtool) ; a proofreader (grammar/style check) for Emacs ;; +langtool) ; a proofreader (grammar/style check) for Emacs
:collab :collab
;floobits ; peer programming for a price ;;floobits ; peer programming for a price
;impatient-mode ; show off code over HTTP ;;impatient-mode ; show off code over HTTP
:config :config
;; For literate config users. This will tangle+compile a config.org ;; For literate config users. This will tangle+compile a config.org
;; literate config in your `doom-private-dir' whenever it changes. ;; literate config in your `doom-private-dir' whenever it changes.
;literate ;;literate
;; The default module sets reasonable defaults for Emacs. It also ;; The default module sets reasonable defaults for Emacs. It also
;; provides a Spacemacs-inspired keybinding scheme, a custom yasnippet ;; provides a Spacemacs-inspired keybinding scheme, a custom yasnippet