Commit graph

11980 commits

Author SHA1 Message Date
Cormac Cannon
0ad0e7d328 c-c++ layer : Added doxygen support and keybindings via gendoxy
<<Amendment 1>> Corrected two  whitespace issues as per lebensterben's
comments.
2021-09-04 20:51:44 +02:00
Lucius Hu
696cfd47c1 Revert "Fix evil search prompt on mouse leave (#15002)"
This reverts commit d9c3dc678c.
2021-09-04 15:09:55 +02:00
Zheng Qu
3bf2b481a8
[c-c++]: Fix keybinding for organizing includes (#15029) 2021-09-02 05:36:32 -04:00
akkuankka
ed12b1118f
ocaml: Allow new OPAM command-line syntax (#15011)
As of new OPAM (OCaml package manager) v2.1, `opam config var share` is
no longer supported. Instead, the syntax is `opam var share`. To allow
both, this checks first with the new syntax, then if that doesn't work,
the old is tried. If neither produce any output, it fails as normal.

edit: Fix formatting.
2021-09-01 19:02:37 +00:00
Michael Peyton Jones
797360a419
lsp: add call hierarchy binding (#15021) 2021-08-31 21:02:05 +00:00
SpacemacsBot
59852a6ab5 [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
Eugene Yaremenko
a86694157e
[CI] Fix committing 2021-08-26 01:37:03 +03:00
Eugene Yaremenko
8b3b647f1c
[CI] Use better way to detect changes 2021-08-26 01:22:52 +03:00
Lucius Hu
abb088474a clojure: small change 2021-08-25 22:48:58 +02:00
Rainer Gemulla
b1d287081f Fix typo that prevents ivy-rich from being enabled 2021-08-25 22:48:05 +02:00
Lucius Hu
a9ba3b8fe0 git: restore layout when exiting magit buffer
closes https://github.com/syl20bnr/spacemacs/issues/14951

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-25 22:45:06 +02:00
Maxi Wolff
f78c9bed18
[docs] Fix broken link in ivy README 2021-08-25 22:34:54 +02:00
Daniel Nicolai
80386e8414
Add (optional) ebib support to bibtex layer (#14876) 2021-08-25 19:31:18 +00:00
Aaron Zeng
671431f65c
[shell-scripts] Add key binding for shfmt-buffer (#15017) 2021-08-24 22:17:24 -04:00
Lucius Hu
198cc3a86f
Delete China.png
Chinese.png is sufficient
Deleting China.png to make in independent of a country and more inclusive to all users.
2021-08-24 01:28:53 +00:00
Lucius Hu
fe147e391d
chinese: add notes on elpa mirrors
Co-authored-by: wztdream <39213018+wztdream@users.noreply.github.com>
2021-08-24 01:27:54 +00:00
Daniel Nicolai
d02fae3c7a
Evilify and add cider-repl-history-mode keybindings (#14842)
Cider provides the possibility to search the REPL history, for which it opens
the history in a read-only buffer (which as usual, is best initialized in
evilified state).

This commit evilifies the cider-repl-history-mode buffer and defines some common
sense cider-repl-history-mode keybindings.
2021-08-24 01:20:26 +00:00
Lucius Hu
b1c9ddc452
nim: fix broken indentation
Closes https://github.com/syl20bnr/spacemacs/issues/13470

Co-authored-by: duianto <notnaiud@gmail.com>
2021-08-23 23:55:00 +00:00
Benjamin Hipple
1441dcc0f1
[org-roam] Fix evil org-roam-node-insert spacing (#15008)
When we're adding links, without this they get smooshed together under the
curser. Tested to work; resolves https://github.com/syl20bnr/spacemacs/issues/14137

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-23 22:10:32 +00:00
Maxi Wolff
2a0a261263
[doc] Change spacemacs links to point to the develop web page
as the old spacemacs.org page is outdated anyway and seems
to have an certificate issue.
2021-08-23 23:02:26 +02:00
Daniel Nicolai
f92af9989a Add option to enable all-the-icons-ivy-rich to ivy layer 2021-08-22 22:31:05 +02:00
duianto
05f5113b70 Use built-in get-buffer 2021-08-22 22:26:37 +02:00
Thanh Vuong
bb8dd09d3f [java] improve binding for lsp-java 2021-08-22 22:22:15 +02:00
duianto
9f95c95dfc [docs] Update readme, Windows clone path
problem:
The clone command doesn't work in Windows:
`git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d`

It creates a `~` directory in: `C:\Users\username`
that contains: `.emacs.d`

But Emacs looks for `.emacs.d` in: `C:\Users\username\AppData\Roaming`

solution:
Add instructions for cloning to the Roaming directory.

In a Command Prompt:
`git clone -b develop https://github.com/syl20bnr/spacemacs %appdata%/.emacs.d`

In a Windows PowerShell prompt:
`git clone -b develop https://github.com/syl20bnr/spacemacs $env:appdata/.emacs.d`
2021-08-22 22:15:59 +02:00
Daniel Nicolai
5a9b813c9e Add jump to specific manual keybinding (SPC h j)
This keybinding could also go under `SPC h M`, but that is currently taken by
`helm-switch-major-mode` (which seems a quite redundant command to me, as you
can switch major-modes directly using `M-x`/`SPC SPC`).
2021-08-22 21:59:34 +02:00
Cédric M. Campos
31222468e6 [latex] Doc. TeX engine. Corrects typos, adds on TeX-command-master. 2021-08-22 21:12:15 +02:00
Benjamin Hipple
195a228927 [org-roam] Add "r" key to refresh org-roam links list buffer
This matches the org-agenda key, and is doubly important since we need to
refresh regularly to workaround the page-break-lines bug, as described here
https://github.com/syl20bnr/spacemacs/issues/14969#issuecomment-894624932
2021-08-22 20:32:43 +02:00
Daniel Nicolai
8c931b9c86 Evilify special-mode by default
As special-mode is a read-only mode, it could be evilified by default.
I am not aware of any case where this is not desired.
2021-08-22 20:26:32 +02:00
cjf-666
3d6e32e2a8 Fix macOS GUI full screen button wreck caused by GUI setup in early-init.el 2021-08-22 19:57:28 +02:00
Aaron L. Zeng
1a9ebf42df Fix file rename target path when buffer name is uniquified
When the buffer's name is uniquified (because multiple buffers have
the same short name), it is no longer equal to the basename of the
buffer's file name, so it is incorrect to use the buffer name in the
rename operation.
2021-08-22 19:56:17 +02:00
Daniel Nicolai
2f0f7a3fe7 Fetch info+ via quelpa wiki recipe
Fixes #14525 and 8bcc420.
2021-08-22 19:19:41 +02:00
duianto
d9c3dc678c
Fix evil search prompt on mouse leave (#15002) 2021-08-21 01:49:40 -04:00
duianto
6205d29e11
[compleseus] Fix keys (#14968) 2021-08-20 04:50:45 +00:00
duianto
090a4c89da
[compleseus] Fix junk file function (#14973)
problem
`SPC f J` (`spacemacs/open-junk-file`) shows:
cond: Cannot open load file: No such file or directory, helm

cause
`spacemacs/open-junk-file`
expects the completion layer to be either: `helm` or `ivy`

notes
The junk file function searches through the junk files,
when the ARG parameter is non-nil
(when it's called with a prefix argument: `SPC u SPC f J`)

The helm and ivy search functions might be choosing the search tool,
based on the first search tool it finds in the variable:
`dotspacemacs-search-tools`
`("rg" "ag" "pt" "ack" "grep")`

The consult package has these two search functions:
`consult-grep`
`consult-ripgrep`

This fix only uses those two for searching.
It checks for the executable: `rg` before `grep`
2021-08-20 04:49:30 +00:00
Anupam | अनुपम
9745c4e88a
Add purescript formatting support (#14984) 2021-08-20 03:48:29 +00:00
Carlos Ferney Clavijo Rendón
a99b527056
[erlang] add DAP support through erlang_ls-dap (#14996)
* [erlang] add DAP support through erlang_ls-dap
2021-08-20 03:15:41 +00:00
Aaron Zeng
fdeb770103
[nixos] Add nixos-format-on-save (#14982)
* [nixos] Add nixos-format-on-save
2021-08-20 03:09:00 +00:00
Dan Kessler
3a52081c23
[major-modes] add evil-matchit support for matlab (#15000)
* [major-modes] add evil-matchit support for matlab

If `evil-matchit` is available, configure it for us in `matlab-mode`.

Note: This commit by itself doesn't actually do anything, because currently,
`evil-matchit` supports `octave-mode`, but not `matlab-mode`, although it's a
very simple matter of just turning on its `octave-mode` configuration for
`matlab-mode`. I'm submitting a PR against `evil-matchit` in order to support
`matlab-mode` out of the box.
2021-08-20 03:03:48 +00:00
Daniel Nicolai
3875f7a2fd Change show-all keybinding to outline-cycle-buffer in pdf layer
Emacs 28 adds the outline-cycle-buffer feature. Currently there is no keybinding
to fold the outline of a pdf. So let's replace show-all by it for >= Emacs 28,
because it is easier to remember a single keybinding for folding and unfolding
then having separate bindings for those.
2021-08-16 17:23:25 +02:00
Daniel Nicolai
8b05eb47c0 Evilify and add follow link (hint) keybinding to org-roam buffer 2021-08-16 15:21:08 +02:00
Dmitry Polienko
9bb3115bce
Remove obsolete paragraph from the LSP layer documentation (#14989) 2021-08-14 19:21:30 +00:00
duianto
f3b902a304 Fix ahs ts, open prompt
problem
opening a prompt, ex: `M-x`
while the Symbol Highlight Transient State (`SPC s h`) is open,
leaves `auto-highlight-symbol-mode` enabled

cause
when the idle timer runs,
it tries to disable ahs mode in the prompt window
2021-08-14 16:12:25 +02:00
inwit
40ae5e2293 Add bindings for scrolling the message pane in tree-view
In standard notmuch-emacs, one can scroll back and forth the message
pane using `SPC`/`BKSPC`. Obviously, this is not the case in Spacemacs,
where `SPC` is reserved. There was no way to scroll the message pane in
this layer, so I added `M-d` and `M-u` wired to
`notmuch-tree-scroll-message-window` and
`notmuch-tree-scroll-message-window-back`.
2021-08-02 22:55:49 +02:00
Aaron L. Zeng
0f71054dcc [shell-scripts] Add format-on-save docs to README.org 2021-08-02 22:44:59 +02:00
Aaron L. Zeng
9e361eedc2 [shell-scripts] Add shell-scripts-format-on-save 2021-08-02 22:44:59 +02:00
Daniel Nicolai
cc8f3a3a32 Add python-send-shell-with-output command
Currently when using any python-send-shell command, the output of the evaluation
is not shown in the comint shell (see Emacs bug#49822).
This commit adds a simple function to send input and get the output printed in
the comint process buffer.
2021-08-02 22:16:37 +02:00
duianto
7b5b69fda5 [compleseus] Fix indentation 2021-08-02 13:24:37 +02:00
Thanh Vuong
50f4fe183f [compleseus] add consult-line-multi 2021-08-02 13:20:42 +02:00
Борис Верховский
e2aff2c915 use new breakpoint() for more Python versions
follow up to #11490
2021-08-02 12:32:02 +02:00
JAremko
ac1087ea4e [ci] refactoring 2021-08-01 23:42:47 +03:00