Commit graph

11217 commits

Author SHA1 Message Date
Maximilian Wolff
48b1d2fcf9
[graphql] Revise package and config file
Removed obsolete comments
Replaced wrong header in config.el
Add missing progn and fix wrong parenthesis
2020-11-12 23:06:43 +01:00
Thanh Vuong
dd2217b50e [new layer][graphql] add graphql layer
It builds around graphql-mode
- Syntax highlight and graphql calls with graphql-mode
- Autocomplete with comapy-dabbrev
- Format buffer with prettier
- Go to definition with ahs
2020-11-12 23:03:26 +01:00
Maximilian Wolff
0046448c81
[org] Fix key binding table formating 2020-11-12 22:52:55 +01:00
Marty Buchaus
836d5c315e
Org roam tag bindings (#14109)
* add org-roam tag-add and tag-delete +prefix
Co-authored-by: madand <dev@madand.net>
2020-11-12 22:50:31 +01:00
emacspace
55d94cbdda documentation formatting: Tue Nov 10 22:56:00 UTC 2020 2020-11-12 22:38:27 +01:00
madand
278db6a11f [pdf] ~?~ toggles transient sate documentation hint (shown by default)
Backwards compatible by showing the docs by default. Allows to reclaim the
precious display space for viewing the actual PDF.
2020-11-12 22:37:36 +01:00
Youmu
483d5493cd Remove eshell obsolete variable
`eshell-buffer-shorthand` was removed in Emacs 25, see https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.25#L1078-L1082
2020-11-12 22:33:06 +01:00
Maximilian Wolff
0d609c09d4
[latex] Fix broken binding for SPC m R TAB
Fixes key warning mentioned in #12975
2020-11-12 22:03:47 +01:00
Maximilian Wolff
c3872f165c
[crystal] Add lsp support and revise key bindings
Also fixed not working flycheck integration.
2020-11-10 22:43:18 +01:00
Maximilian Wolff
48f25917c1
[web-search] Add Melpa Package Search option 2020-11-09 23:27:33 +01:00
Maximilian Wolff
24d8d329eb
[LSP] Add documentation for missing functional area "action" 2020-11-09 23:18:57 +01:00
Maximilian Wolff
5dd1b63219
[fsharp] Add LSP support 2020-11-09 23:12:04 +01:00
madand
4c2fcc13cb [org] Activate insert state after some org-insert-* commands
Having to manually press i after using any of these commands is annoying to say
the least. This commit affects the following commands:
- org-insert-drawer
- org-insert-heading
- org-insert-item
- org-insert-structure-template

Change to org-insert-heading also affects other commands that use it
internally (e.g. org-insert-subheading).
2020-11-02 19:49:51 +01:00
duianto
ee45910a0d [ranger] Add nil to ranger-enter-with-minus possible values 2020-10-31 14:43:09 +01:00
emacspace
45691dd545 documentation formatting: Sat Oct 31 08:55:13 UTC 2020 2020-10-31 13:07:55 +01:00
Thanh Vuong
97868ced62 fix #14100
Vterm => VTerm sorry :)
2020-10-31 09:52:49 +01:00
Keith Pinson
61fc17c6ee [core] clear search highlights on narrow to indirect buffer
This avoids more problems found by @duianto.

Also:
* Use more descriptive variable names
* Print message explaining lack of narrowing in visual block mode
2020-10-31 09:15:12 +01:00
Keith Pinson
82974b454e [core] fix visual modes for narrow to indirect buffer
* Apply @duianto's fix to only activate visual selection it if it was active
  previous to the creation of the indirect buffer
* Block use of visual block mode because of continuing problems in that mode,
  and its questionable usefulness in this case
* Extract commonalities out of the narrowing functions
* Make the new keybindings into a list in the changelog for readability, per
  @duianto
2020-10-31 08:57:46 +01:00
Keith Pinson
155490afaf [core] document new narrow to indirect buffer keybindings 2020-10-31 08:57:46 +01:00
Keith Pinson
5b4b6af8d3 [core] fix narrow to indirect buffer from visual mode 2020-10-31 08:57:46 +01:00
Keith Pinson
603d7fbe0b [core] provide keybindings for using narrow with an indirect buffer
This is useful if you want multiple narrowing in the same base buffer.

Fixes #12550 with proposed bindings by @duianto.
2020-10-31 08:57:46 +01:00
emacspace
0291e9eb56 documentation formatting: Mon Oct 26 23:33:02 UTC 2020 2020-10-30 21:51:07 +01:00
Maximilian Wolff
abac41e8d0
Fix small doc typos in shell and latex layers 2020-10-30 21:44:17 +01:00
Thanh Vuong
a477ea63ce [shell] new helm/ivy functions to search vterm history
Based on http://xenodium.com/search-bash-history-with-emacs-helm/

Add new helm/ivy functions `spacemacs/helm-vterm-search-history`,
spacemacs/counsel-vterm-search-history to search bash history and insert to
vterm/shell

Bind this function to M-r for vterm

New layer variable spacemacs-vterm-history-file-locatition to customize bash file

Default is nil.

Also bind add counsel-shell-history to `, H` for shell-mode in the same
convention as helm counterpart.

[shell] wip
2020-10-30 21:17:04 +01:00
Daniel Nicolai
60f859d26d
Specify configuration layers info pages and add cross links
Searching for information about configuration layers is confusing because both
the overview and development info pages have the same title (try it with
google). Specifying those info pages title names and adding cross links makes
the docs friendlier.
2020-10-30 21:10:48 +01:00
Maximilian Wolff
57baf7d237 Add lsp support to latex layer 2020-10-30 21:06:34 +01:00
duianto
fa83c0ed5a [ranger] Add 'ranger as an option to ranger-enter-with-minus
Added 'ranger as an option to the variable: ranger-enter-with-minus
Changed the default value from: t to: 'deer.
Bound the key to evil-motion-state-map instead of evil-normal-state-map
so that - also works from the Spacemacs home buffer.
2020-10-30 20:55:04 +01:00
Carlos F. Clavijo
3eb66f4ce3 [erlang] add LSP support through erlang_ls 2020-10-26 23:29:49 +01:00
emacspace
41d658a49f documentation formatting: Fri Oct 23 17:59:51 UTC 2020 2020-10-26 23:18:03 +01:00
Lucius Hu
3c35407968
Minor changes on helm layer (#14088)
* Added `helm-ag-success-exit-status` when using `rg`

It's been advised by the upstream of `helm-ag` to set
`helm-ag-success-exit-status` to `'(0 2)`.

This commit adds this.

ref: https://github.com/emacsorphanage/helm-ag#helm-agel-with-other-searching-tools

Signed-off-by: Lucius Hu <lebensterben@users.noreply.github.com>

* Use `magit-status-setup-buffer` instead of `vcr-dir`

This is suggested by the package itself.
Ref: 4da1a53f2f/helm-ls-git.el (L184-L189)

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2020-10-26 23:11:54 +01:00
madand
5884aa9aaa [ivy] Lazy load ivy-avy and ivy-hydra after ivy 2020-10-26 23:08:04 +01:00
nobv
ab52131d98
Add lsp for purescript (#13840) 2020-10-23 18:57:47 +02:00
Ray Wang
905d4392c5
Add spacemacs-scratch-mode-hook
Also run-hooks in spacemacs/switch-to-scratch-buffer

update CHANGELOG.develop and retrigger workflow
2020-10-23 18:34:25 +02:00
Keith Pinson
e2718dd046
[git] Implement performance hack for MacOS from Magit Manual (#14070)
* [git] make finding of Git on MacOS more reliable per @tko
* [git] remove Darwin condition on finding git executable
2020-10-23 18:21:22 +02:00
emacspace
1bca56f9fe documentation formatting: Thu Oct 22 18:55:54 UTC 2020 2020-10-22 23:35:07 +02:00
Daniel Nicolai
acc136168f
Update additional-packages docstring with info about loading package
Many new users (quite logically) assume that the additional-packages list
behaves like installing a layer, so they assume the file is also loaded
automatically. This commit adds info about the requirement to also load the
package with load/require/use-package in the user-config section of the dotfile.
2020-10-22 23:32:38 +02:00
Aaron L. Zeng
1cbc752463 [ocaml] Add ocamlformat package and configure format-on-save 2020-10-22 23:28:41 +02:00
Keith Pinson
7cc1f06986 [org] SPC m s N -> SPC m s w to match mnemonics of SPC n w
I chose to go this way rather than the other way because:

* Whenever you can avoid holding down a modifier key, great!
* It seems like the more specific should yield to the more general

This may be a controversial change, because it could break some folks' finger
memory. However I consider this a very unpleasant inconsistency that inhibits
the development of finger memory, so I thought I would at least suggest it as
the default for Spacemacs.
2020-10-22 23:14:41 +02:00
Dave Musicant / thinkpad
8c5db2e08a Modify documentation to reflect that Emacs server is off by default
Pull request #10297 made the Emacs server optional, so that it does
not start up unless the init file is modified to enable it. The
documentation, however, indicates that the opposite is true. This
fix updates the documentation to be consistent with the actual
behavior.
2020-10-22 23:02:28 +02:00
Martin Račák
9c31d4f953 Hide sphinx-doc-mode lighter 2020-10-22 22:53:05 +02:00
Boris Sergeyev
3e033e39f6 [helm] helm-swoop, ignore helm-full-frame' and pop-up-windows'
because current implementation does not support full-frame usage:
see https://github.com/syl20bnr/spacemacs/issues/2157
2020-10-22 19:49:49 +02:00
Keith Pinson
fc9d63b31d Add meghanada, eln-cache and vimish-fold to .gitignore
* meghanada is an LSP client for Java
* eln-cache (gccemacs) is for the native-comp branch of Emacs 28.0
* vimish-fold is there because said package has persistent folds
2020-10-20 22:05:03 +01:00
nanashi0x74
76849892e1 Fix three typos in various files
This commit fixes typos in doc/layers.org and the readme.org files of bootstrap and
java layers.
2020-10-19 11:48:51 +02:00
nanashi0x74
c8b717c9be [lsp] Add keybinding for lsp-version command 2020-10-19 11:45:53 +02:00
Lucius Hu
f2b17d8cd7 remove "SPC d" binding
"SPC d" was used for documentation related keybindings, such as in `dash`
layer.
But it's now used for `dap` layer exclusively.
Removing this won't cause any issue as `dap` layer would correctly set
the keybindings once it's loaded.
2020-10-17 10:23:24 +02:00
Rahul Rameshbabu
1dd17e10ee [c-c++] Fixed typo in README.org 2020-10-17 10:21:06 +02:00
Lucius Hu
f98e66d841 fixed typo in .spacemacs template 2020-10-17 10:19:58 +02:00
NANASHI0X74
efcab8f61a
Bind typescript-format to "==" or "=" depending on backend (#14049)
* Bind typescript-format to "==" or "=" depending on backend

This fixes a problem when using 'lsp backend: the lsp layer binds its own
formatting functions under "=" as a prefix. The spacemacs/typescript-format
function which the typescript layer defines has advantages over these, mainly
it respects the typescript-fmt-tool variable (uses the formatting tool that
theuser specified).

This patch solves this by keybinding leader+"==" to the function when
typescript-backend is set to 'lsp and binding to leader+"=" in any other case.

* Fix an accidentally deleted keybinding in table in documentation

* use getter for backend variable

Co-authored-by: nanashi0x74 <rian.lindenberger@mpq.se>
2020-10-17 10:17:41 +02:00
Brandon T. Willard
ac3c3546a2 Fix misc. compilation warnings 2020-10-15 23:49:33 +02:00
emacspace
598ac10337 documentation formatting: Thu Oct 15 21:23:44 UTC 2020 2020-10-15 23:33:25 +02:00