Commit Graph

1467 Commits

Author SHA1 Message Date
b461c99d86 lang/org: fix C-RET/s-RET in org-mode #1146 2019-02-03 18:51:55 -05:00
7ca2b42d2b lang/lua: set default indent = tab-width
Because it's original default was 3. Madness.
2019-01-25 03:10:28 -05:00
a337c1bd4e lang/org: generalize newline keys
To make them available to both emacs/evil users.
2019-01-22 19:29:13 -05:00
24b4d24d18 Fix #1127: errant entry in org-structure-template-alist
Caused an error when org-insert-structure-template is called in
org-mode.
2019-01-21 22:35:49 -05:00
6bbc095694 Merge pull request #1128 from ar1a/nix-indent
set nix-indent-function to #'nix-indent-line
2019-01-21 22:24:34 -05:00
8e4635bdc8 set nix-indent-function to #'nix-indent-line 2019-01-22 10:44:05 +11:00
99e916348a lang/java: fix java namespace resolution #1098
Now uses slightly more sophisticated namespace resolution when
populating the *.java file template.
2019-01-21 17:39:39 -05:00
ed26b59e1d Merge pull request #1126 from ar1a/dante
lang/haskell: fix dante completion
2019-01-20 15:24:07 -05:00
d46eaeddbf Merge pull request #1100 from mbger/doc/cc
lang/cc Add known issues with bear to readme
2019-01-20 14:23:00 -05:00
7251b50b35 Make bear-macos issue a sub-tree
Since it is directly relevant to the project-compile-settings section.
2019-01-20 14:22:45 -05:00
d68ecb7636 lang/haskell: fix dante completion 2019-01-21 06:21:09 +11:00
4b62f1215e Merge pull request #1104 from UndeadKernel/fix-ipython_async
org: let ob-async ignore ob-ipython
2019-01-20 14:16:38 -05:00
9a8f3070a6 Merge pull request #1119 from mfiano/patch-3
common-lisp module: Added keybind to quit sly-xref-mode windows
2019-01-20 14:10:51 -05:00
195212f71c Merge pull request #1118 from mfiano/patch-2
common-lisp module: Fix sly-db button binding
2019-01-20 14:10:16 -05:00
2f42d93988 Merge pull request #1117 from mfiano/patch-1
common-lisp module sly-db-quit fix
2019-01-20 14:10:08 -05:00
a183fcddf5 common-lisp module: Added keybind to quit sly-xref-mode windows 2019-01-14 20:48:03 -05:00
ddc0c1fc21 common-lisp module: Fix sly-db button binding 2019-01-14 20:07:41 -05:00
b7de17aecd common-lisp module sly-db-quit fix
The `q` binding for `sly-popup-buffer-mode-map` was overriding `sly-db-mode`'s binding, causing lots of issues.
2019-01-14 19:54:17 -05:00
d7f10cbcbd lang/cc: fix brace-list argument block indentation
Should be

fn({
    ...
})

Instead of

fn({
        ...
    })
2019-01-14 00:50:33 -05:00
957aa9c63e lang/cc: make ffap aware of irony include paths 2019-01-14 00:49:58 -05:00
5d4dec996f org: let ob-async ignore ob-ipython
ipython implements its own `async` keyword. As ob-async is loaded now by
default, we need to explicitly tell ob-async not to touch ob-ipython blocks.
2019-01-09 14:14:39 +01:00
069c196330 Appease byte-compiler senpai
Please notice me
2019-01-08 20:54:03 -05:00
7645f843ac lang/javascript: mode-name = JS2
A shorter name looks nicer in the modeline.
2019-01-08 00:38:05 -05:00
37cb0e178c Make set-lookup-handlers! additive
Consecutive calls to set-lookup-handlers! would redefine *all* lookup
handlers, unsetting unspecified ones, so you were forced to redefine all
handlers, even if you only wanted to change one. No more. Its side
effects are now additive.

Also adds :async handler support, however, due to their nature, they
cannot fall back to other handlers (there's no reliable way to detect
they worked or not).

To get around this, write a blocking wrapper around the old async method
and register it as a non-async handler.
2019-01-08 00:33:38 -05:00
e02cde1195 :lang cc Add known issues section for macOS 2019-01-07 19:28:59 +01:00
9916025d5c lang/cc: rewrite README 2019-01-05 19:46:14 -05:00
681145e6b5 Defer tide-mode init until file exists
This ensures that tide-mode won't activate for file-less JS buffers,
which are error prone. But once the file is saved, it will consider
activating itself.
2019-01-05 17:49:04 -05:00
b56639e31b Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
9f249de569 lang/latex: remove +latex-bibtex-file
An unnecessary layer of abstraction on top of two straight-forward
variables, reftex-default-bibliography and
bibtex-completion-bibliography.
2019-01-05 17:46:37 -05:00
c3c9c01bad lang/latex: rewrite README 2019-01-05 17:45:42 -05:00
379a45978c lang/clojure: remove :n from cjr-help-menu hydra
They're ignored anyhow.
2019-01-05 15:05:49 -05:00
05e52b7e29 Merge pull request #1088 from UndeadKernel/fix_latex_and_flyspell
latex: enable flyspell correctly in latex buffers
2019-01-03 13:06:18 -05:00
de2e41774f latex fix: enable spell checking correctly
The varible `TeX-mode-local-vars-hook` is not called correctly as AucTeX
reports that the major mode in a LaTeX file is `latex-mode`. Instead,
let's use `latex-mode-local-vars-hook` to enable flyspell.

This change enables disabling the feature of flyspell of immediately
spellchecking a document with:

`(setq-hook! 'TeX-mode-hook +spellcheck-immediately nil)`
2019-01-03 13:49:00 +01:00
fbf2a29ebe lang/go: reformat README (WIP) 2019-01-03 02:01:57 -05:00
6e57350277 lang/org: restore meta return keybinds 2018-12-31 15:57:06 -05:00
c82f71e7fe lang/haskell: disable subword-mode by default
subword-mode is enabled by default for no other language, nor is it the
default behavior in vim (and it affects evil word motions), so it should
be opt-in.

Mentioned in #1083
2018-12-29 21:06:49 -05:00
937252af4e lang/csharp: add +unity flag
And group shader-mode & +csharp-unity-mode under it.
2018-12-29 00:09:17 -05:00
d87fba7944 lang/javascript: remove screeps
Moved it to my private config. This is more of a customization than
something this module should offer support for.
2018-12-28 23:54:23 -05:00
8323b6922d Merge pull request #1069 from amcleodca/update-go-mode-map
Add descriptions for go-mode map
2018-12-27 01:59:59 -05:00
3befcf934e Make +haskell-repl-buffer arg optional 2018-12-26 14:53:08 -05:00
1c20e33e03 Add descriptions for go-mode map
Makes the map for go-mode easier to discover.
2018-12-26 16:57:53 +00:00
448f2e55e5 lang/org: update localleader keybinds
To better suit the new map!
2018-12-25 02:32:53 -05:00
70a4db49d1 lang/org: fix C-S-return & S-s-return keybinds 2018-12-24 02:43:32 -05:00
f9b72545b7 Replace def-org-file-link! with function
A macro is overkill for this.
2018-12-23 23:55:14 -05:00
3f195614d9 Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
29f119ad4d Hook +javascript-npm-mode into typescript-mode
This way typescript projects will be aware of node_modules.
2018-12-23 16:01:37 -05:00
695edd7a14 Merge pull request #1055 from chengyi/add-rust-keybinding-description
add rust key bingding description
2018-12-22 20:08:31 -05:00
02624251c1 lang/rust: update keybinds for new map! 2018-12-22 20:07:18 -05:00
954b0f9c5d Minor tweaks to map! calls for correctness
+ :map arguments shouldn't be quoted
+ :localleader keys default to all states in the absence of state
  modifiers. This is preferred, rather than restricting their use to
  normal state.
+ :map* is deprecated (there is no difference between it and :map)
2018-12-22 17:01:00 -05:00
d6cb0ec5f5 General cleanup & minor refactoring 2018-12-22 04:25:15 -05:00