Commit graph

9824 commits

Author SHA1 Message Date
Boris Buliga
54f69e3a96 [haskell] support dynamically set backend 2019-04-11 13:18:42 +02:00
duianto
1519fc5639 Update change log 2019-04-11 10:50:41 +02:00
yuhan0
a3469c04ea Add window maximization bindings to transient state 2019-04-11 10:50:41 +02:00
yuhan0
13fd53d65d Make window manipulation transient hint collapsible
Window sizing and layouts can be affected by a large transient state hint,
so having a option for minified hint is especially useful here.

Also reformats the full hint to place `golden ratio` under the "Resize" heading,
reducing overall height by one row.
2019-04-11 10:50:41 +02:00
yuhan0
f961d622cf Add 'SPC w' leader bindings for window resizing
For convenience they directly enter the window manipulation transient state,
since resizing operations tend to involve repeated key presses.
2019-04-11 10:50:40 +02:00
Christian E. Hopps
446299ffbd IETF related layers and packages. 2019-04-11 00:03:40 +02:00
Magnus Therning
6184a391b4 [sql] Add SQL support to org-mode 2019-04-10 23:04:02 +02:00
Seong Yong-ju
3afd959181 Add missing prefixes for ruby-on-rails layer 2019-04-10 22:52:25 +02:00
Seong Yong-ju
cb75920bb7 Add missing key prefixes for java-mode, gradle-mode 2019-04-10 22:48:21 +02:00
emacspace
7bf2d00857 documentation formatting: Wed Apr 10 18:17:02 UTC 2019 2019-04-10 22:37:15 +02:00
Hoyon Mak
beab291332 Don't lazy load keybindings for evil surround 2019-04-10 19:30:32 +02:00
Miciah Masters
b1b483e4ae FAQ: Set sentence-end-double-space in user-config
The FAQ has an entry for configuring Spacemacs to use double-space as the
sentence delimiter.  This FAQ entry instructs the reader to set the
sentence-end-double-space variable in the dotspacemacs/user-init function.

The problem is that the spacemacs-defaults layer sets
sentence-end-double-space when it loads, and Spacemacs loads layers after
calling dotspacemacs/user-init, which means the layer overrides any setting
for sentence-end-double-space in dotspacemacs/user-init.

To solve this problem, this commit modifies the FAQ entry to instruct the
reader to set the variable in the dotspacemacs/user-config function, which
Spacemacs runs after loading layers.

The FAQ entry was added in commit ee4ad69847.

* doc/FAQ.org: Instruct the reader to set sentence-end-double-space in
dotspacemacs/user-init rather than in dotspacemacs/user-config.
2019-04-10 18:32:24 +02:00
smile13241324
b00767cd6e Fix partial merge of last doc update
Just cherry picked the last commit in the
previous PR and noticed that I have just
got part of the changes due to multiple
commits in the PR.

However as I did already push I am now
providing the missing changes manually
rather than to rollback the commit.
2019-04-10 00:05:32 +02:00
Anton-Latukha
16e36d75e1 doc: DOCUMENTATION.org: upd Binding keys: direct to key Conventions 2019-04-09 23:56:53 +02:00
Lukas Woell
1d77bf1046 Add eval-thing-at-point functions to Common Lisp Layer
Add functions equivalent to the custom eval-funtions of the elisp layer to the
common-lisp layer.

The functions are copied from the elisp layer only `eval-last-sexp' was replaced
with its slime equivalent `slime-eval-last-expression'.

Keybindings are chosen as they are in the elisp layer.
2019-04-09 23:29:09 +02:00
emacspace
584084ab2d documentation formatting: Mon Apr 8 15:39:05 UTC 2019 2019-04-09 23:11:10 +02:00
Ling Wang
22ecf05c11 Fix OSX keybindings for daemon mode
OSX layer keybindings should be applied on macOS no matter it is in GUI
mode or not. Otherwise the keybindings won't be applied if Emacs is
launched in daemon mode.
2019-04-09 22:38:47 +02:00
Uros Perisic
3e827297fd Declare all prefixes for nim layer.
All prefixes for `nim-mode` were previously unnamed, and simply stated `+prefix`.
2019-04-09 22:14:30 +02:00
Martin Račák
f85acca55d Fix post-init of parinfer in the clojure layer
Reverted clojure/post-init-parinfer back to a state before the refactor, which
introduced spacemacs|forall-clojure-modes. That macro deals with modes, not
hooks, therefore we can't use it for add-hook.
2019-04-08 18:17:22 +02:00
Langston Barrett
a60bc0f52e Add ranger-mode to golden-ratio-exclude-modes
Ranger manages window sizing in a way that conflicts with golden-ratio
2019-04-08 17:44:18 +02:00
syl20bnr
5f27edb107 [conventions] Add conventions for imports 2019-04-08 11:32:43 -04:00
syl20bnr
9b77d8cee3 [change log] Update change log for react and javascript layers 2019-04-08 11:27:55 -04:00
syl20bnr
1402cbc203 [javascript] remove unneeded progn 2019-04-08 11:19:18 -04:00
Seong Yong-ju
ff3d6e2ba1 Add import-js into javascript layer 2019-04-08 11:19:18 -04:00
emacspace
e852e5ad57 documentation formatting: Sun Apr 7 17:59:01 UTC 2019 2019-04-08 13:42:42 +02:00
smile13241324
3c7d7b7b10 Update change log 2019-04-07 19:53:37 +02:00
Alexander Dalshov
b3c185daf5 c++ ccls - rename cacheDirectory cacheFormat to cache.{directory,format} 2019-04-07 19:49:24 +02:00
smile13241324
278e1d85bd Update change log 2019-04-07 19:30:59 +02:00
Ag Ibragimov
1dadfcd0e1 [clojure] Improves spacemacs-jump-handlers
jump handlers in clojure modes now correctly work
for: `, g g` `, g G` `gd` and `gD`
2019-04-07 18:22:51 +02:00
yuhan0
cc094c85d2 Move purpose-x config to spacemacs-purpose layer
This would otherwise cause a void-function error for users of the spacemacs-base
distribution without window-purpose installed.
2019-04-07 18:07:57 +02:00
yuhan0
7a9a95b806 Declare purescript prefixes in purescript-mode 2019-04-07 18:07:57 +02:00
duianto
2ef94efbf4 Add line text object using evil-textobj-line 2019-04-07 15:34:02 +02:00
vishvanath45
3fca351e08 [org] Add ePUB support 2019-04-07 14:39:48 +02:00
hasan356
5606f4e258 Fixes #5158
Backspace in tuareg-mode does not delete the character.
2019-04-07 11:04:06 +02:00
Langston Barrett
022b0b3823 org layer: add support for org-sticky-header-mode 2019-04-07 10:58:43 +02:00
Uros Perisic
197d1e4c57 Add .dap-breakpoints and .lsp-session-* to .gitignore.
The `LSP Java` backend produces these tempfiles to preserve session state. The
glob in `lsp-session-*` is needed as multiple session files are produced when
working on multiple projects. There is no reason for these files to be kept
under version control.
2019-04-07 08:57:20 +02:00
smile13241324
350dbf6373 Move go "generate" prefix declaration to "go-gen-test" init 2019-04-07 08:43:18 +02:00
Luke Worth
0eff6c1ca7 Document cabal-new-repl as a valid haskell-process-type
See
5b9a3e3688
2019-04-07 08:26:12 +02:00
duianto
1eac4dfc3f [lsp] Fix lsp-prefer-flymake readme/docstring 2019-04-07 00:14:17 +02:00
duianto
a622918563 Revert "[org] Add epub support"
This reverts commit 238be0227b.
2019-04-06 21:41:54 +02:00
vishvanath45
238be0227b [org] Add epub support
Toggle variable named `org-enable-epub-support` lets user enable/disable epub
support.
2019-04-06 20:43:59 +02:00
Seong Yong-ju
09835e1ed2 [sql] Add a code formatter for sql-mode
Add sql layer options for sqlfmt. Add a function spacemacs/sql-format-buffer to
format the whole buffer with sqlfmt. Add a key binding for format.
2019-04-06 16:20:23 +02:00
Aaron Jensen
91914378c1 editing: Enable smartparens in eldoc-eval-expression
This was enabled before in eval-expression.
2019-04-06 16:11:57 +02:00
duianto
3819cf4dbd Add SPC o which-key prefix name: user bindings 2019-04-06 16:00:34 +02:00
Florian Czarnecki
f16a7bf8be Fix typo in spell-checking layer documentation
Change "compeled" to "compelled"
2019-04-06 10:01:45 +02:00
Thanh Vuong
a01994292d [javascript] Fix hook value to enable evil-matchit
hook value shoudle be js2-mode-hook instead of js2-mode
2019-04-06 09:54:01 +02:00
duianto
cfa4abfa7a Hide evil-mc single cursor mode-line lighter "emc" 2019-04-06 09:20:13 +02:00
Minh Nguyen-Hue
8709b7e727 [osx] Replace pbcopy by osx-clipboard
Why:

* When using emacs >= 26, pbcopy has latency actions in terminal.

This change addresses the need by:

* Replace pbcopy by osx-clipboard
2019-04-06 09:05:08 +02:00
Seong Yong-ju
9941c60b5c Add missing prefixes in go-mode 2019-04-05 23:21:15 +02:00
Enze Chi
21c442050a Add go-run-args to pass command line arguments to go run
When executing the main function which requires command line arguments, user can
set `go-run-args` to pass command line arguments to compiled binary.

The example below demonstrates how to pass command line arguments by setting
`go-run-args` as file local variable:

package main

import (
	"fmt"
	"os"
	"strconv"
)

func main() {
	//Atoi converts a string to an int
	fmt.Println("Arguments:", os.Args)
	a, _ := strconv.Atoi(os.Args[1])
	b, _ := strconv.Atoi(os.Args[2])

	result := sum(a, b)
	fmt.Printf("The sum of %d and %d is %d\n", a, b, result)
}

func sum(a, b int) int {
	return a + b
}

// Local Variables:
// go-run-args: "10 5"
// End:
2019-04-05 22:59:17 +02:00