Commit graph

4915 commits

Author SHA1 Message Date
Ben Swift dd9b40b235
[Markdown] add keybinding for markdown-insert-kbd
There's no keybinding for markdown-insert-kbd alongside all the other
markdown-insert-* keybindings, this patch adds one using the same
convention (specifically xk).
2020-02-13 18:35:07 +00:00
Bruno Morais 3d597d8ccc
[deft] Added zetteldeft support 2020-02-13 18:26:38 +00:00
Maximilian Wolff c9c5637ac6
[Haskell] Make installation instructions for hie more clear 2020-02-10 20:14:11 +00:00
Jee L 36ad2b28d2
[Python][LSP] Change mspyls publish directory according to system type 2020-02-10 19:45:46 +00:00
Thanh Vuong c1a518439c
toggle for doom-modeline package
even though we have a check if doom is actually set in
dotspacemacs-mode-line-theme in doom mode line init function. doom-modeline
still adds a bunch functions to hook `after-change-functions regardless of the
value of mode line theme name. Hence we need to put a toggle on the declaration
2020-02-08 09:22:21 +00:00
duianto 96438694f4
[base] Add cl- prefix to letf and letf*
The cl package has been deprecated.

It had aliases for cl- prefixed commands without the cl- prefix.
Ex: letf or letf* instead of cl-letf or cl-letf*

On the `spacemacs-base` distribution, with the `ivy` layer.
When one tries to search with `SPC /`
(which calls `spacemacs/counsel-search`)

Then this error message is shown:
>spacemacs/counsel-search: Symbol’s function definition is void: letf*

It doesn't happen with the `helm` layer,
because it's search commands already has the `cl-` prefix.

There are also three instances of: `letf`
in the `spacemacs-editing-visual` layers functions:
- `spacemacs/toggle-centered-buffer` (`SPC w c c`)
- `spacemacs/toggle-distraction-free` (`SPC w c C`)
- `spacemacs/centered-buffer-transient-state` (`SPC w c .`)

Without the `cl-` prefix they show the error message:
>Symbol’s function definition is void: letf
2020-02-08 09:17:52 +00:00
Steven Allen 2088eb67a9
[lsp] set jump handler per lsp-managed buffer
Previously, this would try to add the lsp jump handler to the mode's jump
handler list every time lsp started managing a buffer of that mode. Now, we only
use the lsp jump handler for buffers managed by lsp.
2020-02-08 09:08:37 +00:00
Benjamin Hipple 6781dfe157
[nixos] Update recommended method for disabling nixos-company-options
Per discussion in #13164, we have a standard, consistent technique for doing
this across any layer. Provided that `global-company-mode` is not set, this
works as expected to disable company without requiring custom variables.
2020-02-08 09:05:44 +00:00
Maximilian Wolff 539e954227
Fix R lsp company setup
Before ess layer was always using non lsp completions, this I have
corrected by conditionally set company-lsp or the standard ess backends.
2020-02-08 09:00:43 +00:00
Seong Yong-ju ee5a5e8b73
Add LSP backend support for R
Change some leader keys for Julia, R, Inferior. Remove noweb bindings for Julia
and R since it no longer works. Add LSP backend support for R.
2020-02-08 08:02:46 +00:00
wangtianshu 38a9f7c395 [auto-completion] Don't install company-statistics unless necessary 2020-02-07 20:14:37 +01:00
duianto 7b28e62fb0 [nlinum] Fix symbol name typo
Thanks bcc32
2020-02-03 21:37:00 +01:00
Maximilian Wolff f4f95d28fb
[syntax-checking] Add warning against using (global-flycheck-mode) 2020-02-02 00:57:39 +01:00
syl20bnr 51c7fb961b [default] Move ediff key bindings from SPC E to SPC D prefix
And add documentation
2020-02-01 16:27:44 -05:00
jr0cket 79842c89cf [Clojure] Sesman and missing eval / format keybindings
Added keybindings for the Sesman REPL session management commands to the Clojure
layer, following the Spacemacs keybinding conventions.
https://docs.cider.mx/cider/0.23/usage/managing_connections.html

Sesman has been a part of CIDER for many versions now and provides session
management for nREPL connections (in fact any connections).

Sesman keybinds are placed in the `SPC m c` menu, providing a cleaner separation
between sending code to the repl and session management.

See issue #12593 and PR #13140 which covers the background for the design of
these additional keybindings.

Formatting the region and defun keybinds have been added, along with formatting
for edn files.  Moved to `=` menu to match Spacemacs convention.

Evaluation up to point keybinding has also been added.

Documentation in the README has been updated to complete the description of the
existing Clojure layer, as well as including details specific to the new
keybindings.
2020-02-01 15:33:04 -05:00
syl20bnr f553b3622d Revert "[osx] use init instead of post-init for exec-path-from-shell."
This reverts commit 0141c804f0.

exec-path-from-shell is not used by Spacemacs anymore,
see https://develop.spacemacs.org/doc/DOCUMENTATION.html#default-behavior
2020-02-01 11:59:42 -05:00
syl20bnr 0a1c93c6a2 [auto-completion] Update README 2020-02-01 10:09:55 -05:00
Jonathan del Strother a549b9f3b6
Remove flow-type layer and add suggestions to use flow in javascript layer
It's largely (completely?) obsolete due to lsp support in the javascript layer
2020-02-01 09:33:46 +00:00
duianto f467e5c6d0
Add SPC x d l delete-blank-lines
Bind `SPC x d l` to `delete-blank-lines` (default: `C-x C-o`)

If the cursor is on a blank line:
- with blank lines above or below, then they are reduced to only one.
- without blank lines above or below, then the blank line is removed.
2020-02-01 08:59:55 +00:00
duianto 4b451a5fe3
Fix void destructuring-bind after cl pkg deprecation
destructuring-bind is a macro in the deprecated package: cl

SPC-TAB calls: spacemacs/alternate-buffer
In the spacemacs-base distribution, it shows the message:
spacemacs/alternate-buffer: Symbol’s function definition is void: destructuring-bind

Also renamed three instances of destructuring-bind in the rirc layer.
2020-02-01 08:47:55 +00:00
Benjamin Hipple 7ef83a4b59
[auto-completion] Update documentation on global-company-mode
Reword it to note that this is strongly discouraged, and include a link to the
layer opt-out mechanism that will be broken if this is enabled.

See comment here for details:
https://github.com/syl20bnr/spacemacs/pull/13164#issuecomment-578410362
2020-02-01 08:22:21 +00:00
duianto a771cca7ae
[haskell] Fix REPL stuck snippets
The snippets seem to have been accidentally changed in this commit:
a2de9a63af (diff-75e0388987cdf040d82762426e40e5a5R434)

where other instances of checking for a layer, were changed to check for a
package.

It doesn't work to check if the haskell package is used in the user config
section, because the haskell package hasn't loaded yet.

Reverting it to check if the haskell layer is used works.
2020-02-01 08:09:19 +00:00
emacspace 9cb4d8e658
documentation formatting: Sat Feb 1 07:57:09 UTC 2020 2020-02-01 08:06:38 +00:00
wangtianshu b6f9f7ffc9
Disable warning unless use the nlinum layer 2020-02-01 08:03:41 +00:00
Keiichi Watanabe 0e48bac272 rust: Fix a broken code block in README 2020-01-31 23:23:53 +09:00
Dominik Schrempf f94fea9200
[treemacs] Improve documentation
This is a squash commit, below are the original messages
[treemacs] documentation; locking width section.
[treemacs] documentation; change wording in description.
[treemacs] documentation; improve install section.
[treemacs] documentation; Git mode section.
[treemacs] documentation; flatten directories section.
2020-01-30 22:52:05 +00:00
wangtianshu 665c02e7f6
Replace org-toggle-latex-fragment with org-latex-preview 2020-01-30 21:54:26 +00:00
Michael Peyton Jones fed397cea9 treemacs: don't set non-existent options
These options were removed some time ago.
2020-01-30 17:47:35 +01:00
Michael Peyton Jones 6d0120c417 treemacs: don't set variables to their default
This allows us to follow upstream's default behaviour, and would have
prevented us from accidentally setting the wrong sort order.
2020-01-30 17:47:35 +01:00
Michael Peyton Jones c8bc98a48e treemacs: fix default sorting
I would expect the default sort order in treemacs to be alphabetically
ascending, and indeed until recently it appeared to be so. But the
setting in spacemacs is `alphabetic-desc`, and has been ever since the
layer was introduced. How did this work?

The answer is https://github.com/Alexander-Miller/treemacs/pull/577.
Until recently the alphabetical ascending/descending orders were swapped
accidentally. So we need to now (more logically) set the sort order to
`alphabetic-asc`.
2020-01-30 17:47:34 +01:00
emacspace 75cfd40d3c
documentation formatting: Mon Jan 27 22:19:54 UTC 2020 2020-01-27 23:35:09 +01:00
Maximilian Wolff f4051a2bbf
[elasticsearch] Revise documentation and add missing changelog entry 2020-01-27 23:03:02 +01:00
Jean Rigotti 7f42e0f856
Add elasticsearch layer 2020-01-27 22:29:47 +01:00
Hideaki Kawai 08442790cc [purescript] Add to spacemacs-indent-sensitive-modes 2020-01-26 17:59:20 +01:00
Keith Pinson 4ae7be5404 fix(org-present): exiting presentation always removes inline images
Spacemacs configures `org-present` to inline images while presenting. That much
makes sense. But it has a hook to turn them off unconditionally when exiting
presentation mode. This causes a problem if you just want images to show in and
out of presentation mode.

STEPS TO REPRODUCE
1. Create an Org file
2. Add a link to a file
3. Set `#+STARTUP: inlineimages`
4. `M-x org-present`
5. Exit presentation mode

EXPECTED
Because of `#+STARTUP: inlineimages` images are still inlined.

ACTUAL
The inline images have been removed upon exiting the presentation mode.

FIX
Check `org-startup-with-inline-images` on exiting presentation mode and only
remove the inline images if it is false.

TESTING
To ensure that this did not introduce a regression of the converse behavior, I
also tested with `#+STARTUP: noinlineimages`, and it still turned off the images
when exiting the presentation.
2020-01-26 17:21:07 +01:00
duianto 27178f23e9 Fix helm-spacemacs-help-faq, SPC h f
The function: helm-org-get-candidates was removed upstream.

Improvements:
Recenter the target candidate.

Reversed the helm headings list, to match the order of the
questions in FAQ.org, so that the Common questions are
listed first.

Removed the : (colon) after the heading: How do I
in FAQ.org, to match the other parent headings.
2020-01-25 17:37:47 +01:00
syl20bnr 52d1b0f323 Revert "[clojure] Add sesman keybindings"
This breaks Spacemacs convention:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#repls

Need to add session management under an unused prefix, I suggest SPC m S

This reverts commit e47494229b.
2020-01-25 10:17:08 -05:00
Maximilian Wolff 96e7621f8a
Fix missing implicit dependency of the git layer to magit-section 2020-01-23 23:53:38 +01:00
Maximilian Wolff 23056c9882
Revert "Revise python layer"
Removing the getter function for python-backend had
unintended side effects. This should restore the old
behaviour.
2020-01-23 23:15:28 +01:00
emacspace ff5b3ae291 documentation formatting: Thu Jan 23 11:14:51 UTC 2020 2020-01-23 12:18:03 +01:00
duianto 0b023bd764 [clojure] Fix typos 2020-01-23 12:10:37 +01:00
jr0cket e47494229b [clojure] Add sesman keybindings
Add Spacemacs keybindings to the Clojure layer for all the sesman functions.

Sesman has been a part of CIDER for many versions now and provides session
management for nREPL connections (in fact any connections).

Several keybindings relating to the use of a specific repl been migrated the
`e` evaluation menu and `es` sent-to-repl-buffer sub-menu, providing a cleaner
separation between repl connection and session management and interacting with a
specific repl.

Updated layer documentation and keybindings in README.org file.
Added changes to CHANGELOG.develop

Resolves #12593
2020-01-23 11:43:38 +01:00
Muneeb Shaikh 0ab1e45fe4 [evilified-state] Map C-w to evil-window-map
Fix https://github.com/syl20bnr/spacemacs/issues/13197

Motivation: https://github.com/syl20bnr/spacemacs/issues/13197#issuecomment-577051372
2020-01-22 09:36:19 +01:00
syl20bnr 101c920dbc
Add key bindings to randomize word and lines in region 2020-01-20 11:26:14 -05:00
Lucius Hu d7e9a803fd rust: Guides to use rust-analyzer; fix link 2020-01-20 15:59:28 +01:00
Richard Kim 278be41010 [helm] Created spacemacs/helm-dir-do-grep to fix issue #13167
This is used if someone does not have ag, pt, rgrep, etc.
2020-01-20 15:53:20 +01:00
wangtianshu 235ed43010 Fix ~SPC m ;~ binding 2020-01-20 15:41:20 +01:00
Seong Yong-ju 58279f89ea [treemacs] Add persp-mode integration 2020-01-20 14:35:45 +01:00
Joscha 099ead9b6a [haskell] Add history key bindings to haskell ghci repl
This commit adds the C-j, C-k and C-l bindings to haskell's ghci repl, according
to spacemacs conventions.
2020-01-20 13:23:44 +01:00
madand e1ad035513 Improve rainbow-identifiers experience for Elisp and CL
Make rainbow-identifiers not colorize special operators and macros, so they
always visually stand out. Rationale behind this change is that special
operators and macros in Lisp may be considered "syntax" elements, so it makes
sense to have them visually distinguished at all times.
2020-01-20 11:37:20 +01:00