Commit graph

12000 commits

Author SHA1 Message Date
Alex Wilson
b5d3cf9678
Add .leex support for the html layer 2021-09-10 22:15:46 +02:00
Maxi Wolff
e67caf8486
[lsp] Revise lsp layer's create temp files in cache folder feature
to avoid having to add a lot of additional ignore
statements to our .gitignore file.

For now this shall reside in LSP layer if it becomes too big
we can do a more refined design based on the auto-complete
layer.
2021-09-10 22:13:14 +02:00
Ray
acea332435
Move known temporary files of LSP into spacemacs-cache-directory.
By enabling all layers referring to lsp and searching packages they depend
on, currently I found these variables:
`lsp-server-install-dir`
`lsp-session-file`
`lsp-eslint-library-choices-file`
`lsp-yaml-schema-store-local-db`
`lsp-vetur-global-snippets-dir`
2021-09-10 22:13:13 +02:00
SpacemacsBot
b5aea5610e
[bot] documentation_updates (#15042)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-09-10 20:10:16 +00:00
Maxi Wolff
e5a180e78d
[vc] Make smerge ts use emacs version specific functions
this affects smerge-next vs smerge-vc-next-conflict, which
is only available from emacs 27 on, which will check for
conflicts in all open buffers.
2021-09-10 21:38:29 +02:00
Michael Peyton Jones
f928c32eec
vc: use smerge-vc-next-conflict instead of smerge-next 2021-09-10 21:17:17 +02:00
Maxi Wolff
8e5b4c7ec3
[core] Reformat core-documentation.el 2021-09-10 21:07:22 +02:00
Evelyn Liang
785035cc28
Warn user they are reading develop docs (#14136)
* Warn user they are reading develop docs

Draft commit, definitely still needs work.

The intent is to let users know they are reading documentation that might not
apply to their version of spacemacs. The default install is based on master,
but the docs for both master and develop show up in search engine results.

Currently the only way to see that you are reading the develop docs is by
looking at the subdomain. You'd also need to know that a non-develop website
exists, which is not obvious.

* Use real redirect link back to non-develop docs

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2021-09-10 21:04:23 +02:00
Maxi Wolff
2fc428d527
[elisp] Fix small typo in README 2021-09-10 20:57:03 +02:00
Daniel Nicolai
6b9ec10c74
Implement inspector package to emacs-lisp layer see #15039 2021-09-10 20:50:41 +02:00
Laurent Thévenoux
1e79c36266
README: fix macOS prerequisites regarding grep (#15038)
The --with-default-names option seems to not exists anymore. A directory have to be added to PATH instead.
2021-09-08 21:49:10 +00:00
SpacemacsBot
a3b40d2318
[bot] "documentation_updates" Sun Sep 5 06:17:34 UTC 2021 (#15035) 2021-09-05 02:49:47 -04:00
Evan Klitzke
4ebd512d14
c-c++: Package cpp-auto-include can be fetched from Melpa (#15037) 2021-09-05 06:16:30 +00:00
Maxi Wolff
aebb522922
[reddit] Fix small typos in docs and add dependency to org layer 2021-09-04 21:51:59 +02:00
Benedikt Broich
f73d6ea9c7
Add reddit layer
This layer adds Reddit support to Spacemacs via the package
reddigg. This package allows you to browse reddit in org-mode. You can find more
information in the README.org.

Fix use-package reddigg

Change name to for reddit

Change name according to https://www.reddit.com/wiki/api
2021-09-04 21:51:58 +02:00
Eugene Yaremenko
848ae48373
Fix another link 2021-09-04 22:49:40 +03:00
Eugene Yaremenko
ec19d6ac98
Fix link 2021-09-04 22:44:32 +03:00
Maxi Wolff
b66e60cabb
[latex] Provide more robust version of latex-setup-pdf-tools 2021-09-04 21:35:49 +02:00
Daniel Nicolai
073fe39b38
latex layer add auto configure pdf-tools and open in split window
This commit makes the latex layer automatically configure pdf-tools as
latex pdf-viewer if the pdf layer is installed.

Additionally it adds a layer variable to configure pdf-tools to open in a
split-window. (Strangely, finding out how to achieve that is far from trivial,
and also not easy to google, because many hits do not provide the "correct"
answer (see the typical example
[here](https://emacs.stackexchange.com/questions/28056/spacemacs-latex-how-to-make-view-command-tile-vertically-with-emacs-window)).

Update layers/+lang/latex/funcs.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-09-04 21:14:45 +02:00
Ryan Prior
4e306e1064
Make golden-ratio global mode and ediff mode coexist harmoniously (#15031)
* [layout] New function spacemacs//ediff-in-comparison-buffer-p

This function is useful to determine whether a given buffer is part of an ediff comparison.

* [layout] New function spacemacs/ediff-balance-windows

Interactive function to balance ediff windows in case they're unbalanced
initially (such as when golden-ratio-mode was active.)

* [navigation] Disables golden-ratio resizing in ediff view

Updates `spacemacs-navigation/init-golden-ratio`:
- inhibits golden-ratio in ediff comparison buffers
- balances the width of ediff comparison buffers on startup

* Updates CHANGELOG.develop with ediff/golden-ratio comment

* [layout] Adds MIT license acknowledgement for new functions

Co-authored-by: Ryan Prior <ryan.prior@coldquanta.com>
2021-09-04 21:02:42 +02:00
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