Commit graph

5558 commits

Author SHA1 Message Date
winsphinx 9ecce8231a fix variable name in lsp doc 2021-02-21 17:53:53 +01:00
Ivan Yonchovski b6aed092cf [evil-cleverparens] `evil-cp-change' should move the point
I have a PR for that https://github.com/luxbock/evil-cleverparens/pull/71 but it
is not reviewed for a long time. Without this change when you do `ci"` the
cursor won't go in the "".
2021-02-21 17:43:45 +01:00
Ivan Yonchovski df09240229 [lsp] Do not include lsp-ui by default
- lsp-ui is very opinionated so better to have it enabled/installed on demand
2021-02-20 22:01:23 +01:00
Ivan Yonchovski 599a9bb278 [helm] avoid duplicates in `helm-M-x' history 2021-02-20 22:00:26 +01:00
Ivan Yonchovski 1d0cd56c17 Revert to default value of helm-swoop-speed-or-color
- having font-lock enabled for swoop buffers is really slow
2021-02-20 21:59:35 +01:00
Maximilian Wolff e5620ddfbf Reverted ESS: Fixes syl20bnr#13282
Having sourced a file for every R repl session
is not working reliably due to the different
value of DISPLAY on every environment.

Users are expected to use R specific ways
to set their env variables for now.
2021-02-20 07:40:13 +00:00
tris 699be3fe28 [editing] add binding for multi-line 2021-02-20 08:02:32 +01:00
duianto f4999e8242 Restore evil-visual-state-map on edebug exit
problem:
Exiting edebug-mode, leaves the evil-visual-state-map
with only the two key bindings that are defined in:
evilified-state--setup-visual-state-keymap
y       evil-yank
escape  evil-exit-visual-state

solution:
Restore the evil-visual-state-map when exiting edebug-mode.

Added an alias for the new exit function:
evilified-state--evilified-state-on-exit

called: evil-evilified-state-exit
the opposite of: evil-evilified-state
2021-02-20 07:49:43 +01:00
Lin Sun 0220101c7f [markdown] fix warning message for #14387 2021-02-20 07:48:06 +01:00
duianto 7e38f2e64e Disable evil collection unimpaired bindings
This restores the previous Spacemacs
Info-mode and help-mode buffer bindings.

for example:

before:
The square bracket keys are prefixes for one key:
"[u" 'evil-collection-unimpaired-url-encode
"]u" 'evil-collection-unimpaired-url-decode

after:
 ]                       ;; Info-forward-node
 [                       ;; Info-backward-node

 ]                       ;; help-go-forward
 [                       ;; help-go-back

Fixes: Evil keybindings for navigation no longer behave as expected in Info buffers #14375
2021-02-19 16:56:59 +01:00
Maximilian Wolff e4452f9a85
[ess] Set DISPLAY in R buffer only if not set already
See #13282
2021-02-16 23:04:02 +01:00
duianto b6aa0e651f [git] Remove unused evil-magit function
The only usage of the function: spacemacs//magit-evil-magit-bindings
was removed in the PR: [spacemacs-evil] add evil-collection #14200
2021-02-15 10:47:38 +01:00
duianto 3f7e69e0b1 [git][doc] Update magit bindings link
The evil-magit package has been deprecated and moved to:
https://github.com/emacs-evil/evil-collection/tree/master/modes/magit
2021-02-14 19:39:56 +01:00
Maximilian Wolff af0d0e7276 [purpose] Fix undefined magit-display-buffer-function during startup
With purpose and the new layer verification algorithm in place
it looks like the default load order changed causing
`purpose-x-magit-multi-on` to access `magit-display-buffer-function`
before is has been loaded.
2021-02-14 08:16:13 +00:00
emacspace 7eaa072234 documentation formatting: Sat Feb 13 22:58:15 UTC 2021 2021-02-14 00:00:32 +01:00
Daniel Nicolai 44add11c7a Add auto hide tabs feature to tabs layer
Ideally it would be great to implement tabs switch with C-tab (or C-}) that
shows the tabs as long as C is pressed. However Emacs does not support key
release events so this function uses a timer as a workaround.

To me Emacs looks better when tabs are hidden, and also packages like
pdf-continuous-scroll-mode break when tabs are shown.
2021-02-13 23:55:17 +01:00
Maximilian Wolff 8f934f138d
[lua] Fix unbound var error during layer load
I have introduced a small typo which I
am fixing here.
2021-02-13 23:20:37 +01:00
Maximilian Wolff fc2aa2601c [lua] Revise layer and fix LSP integration
The lsp integration was not standard at all in
this layer I have refactored it now to be working
like the rest of Spacemacs.
2021-02-13 21:53:57 +00:00
Lin Sun ca0fe33c8d [lua] more lsp backends for lua 2021-02-13 20:50:39 +00:00
duianto b93bdbd4ad Handle when evil-set-undo-system is missing
problem:
updating Spacemacs without updating the evil package,
breaks Spacemacs on startup:
Symbol's function definition is void: evil-set-undo-system

solution:
make sure that evil-set-undo-system is bound.
2021-02-13 12:01:31 +01:00
Daniel Nicolai a747c1eadd Improve better-dafault docs about possible bindings shadowed 2021-02-13 09:48:49 +01:00
Aaron L. Zeng 901082b914 [fsharp] Declare package eglot-fsharp
eglot-fsharp is now distributed as a separate MELPA package from
fsharp-mode, so it needs to be listed in `fsharp-packages`.

Also, refactor some conditions to read more clearly.
2021-02-13 09:48:08 +01:00
JAremko 91d5bfbadc Add eval to comment elisp-mode function 2021-02-13 09:45:00 +01:00
duianto 3bb13db857 Fix home buffer ace links
Pressing o `(spacemacs/ace-buffer-links)`
on the Spacemacs home buffer `SPC b h`.

Adds an ace link (one or more highlighted letters),
at the menu buttons, and the startup list entries.

problem:
The text: `[S P A C E M A C S]` gets an ace link,
but it isn't a button.

When the [?] button has been pressed, and the Quick Help
is open, then ace links appear on the open square brackets
for each key binding, but they aren't buttons.

In the lists: recent files, projects, etc.
The ace links appear before the first / (slash).
This means that in windows they appear after `c:`.

solution:
Add the ace links at the beginning of each widget-button.
2021-02-13 09:38:23 +01:00
duianto 3acf188bad [keyboard-layout] Fix colemak-hneio next/prev line in magit 2021-02-12 09:16:10 +01:00
duianto 9375d6f54d Add missing space before defun args parens 2021-02-10 08:51:55 +01:00
Jamal Rahhali fae767afd8 Change elm-analysis -> elm-analyse
There is no such NPM package elm-analysis, but there is an elm-analyse.
2021-02-09 22:15:51 +01:00
Daniel Nicolai ec8a278505 Fix EAF-layer to make it work with the epc (support Windows) 2021-02-09 22:11:23 +01:00
Thanh Vuong c11e8baa9d [ivy-rich] enable ivy-rich-project-root-cache-mode
which improves performance when many buffers opened.

Ref:
https://github.com/Yevgnen/ivy-rich#project-performance
ref https://github.com/syl20bnr/spacemacs/issues/10101
2021-02-09 15:04:23 +01:00
emacspace d9ad951c86 documentation formatting: Sun Feb 7 22:30:25 UTC 2021 2021-02-08 03:32:07 +02:00
emacspace 68444f5487 documentation formatting: Sun Feb 7 21:35:33 UTC 2021 2021-02-07 23:25:33 +01:00
Daniel Nicolai 3c1526fcd4
Fix doc org-contacts 2021-02-07 23:23:30 +01:00
Maximilian Wolff d264d04698
[org] Manually load org-contacts during agenda config
Removing this statement seems to create issues,
lets see if adding it back resolves them again.

See #14297 for details.
2021-02-07 23:19:55 +01:00
Maximilian Wolff 1d84447e68
[fasd] Revise layer
Add missing standard headers
Make funcs.el define only functions
and move init code for ivy into
fasd-init function.
2021-02-07 23:01:43 +01:00
Daniel Nicolai dfd5532429
Add search-from ivy action to fasd layer
If I had known about browsing history with `C-r` before [I modified the fasd
package to implement full ivy
support](c4c04873fd),
then I guess I would not have modified it. Anyway, now that "full Ivy support"
has been merged into the fasd package, I could add this 'search-from' action
command to `fasd-find-file` which triggers Spacemacs 'search-auto'. Because fasd
only finds dirs that have been visited before, it probably does not add much to
the `C-r` functionality, but maybe it does (you decide?). Anyway, I hope you can
help decide if this is useful for merging.
2021-02-07 22:31:05 +01:00
Thanh Vuong ae65f3cedd
Fix #14213 remove dash and ht from core libs
- delete dash and ht in core
- reimplemented all ht functions we need in `spacemacs-ht.el` and use them
- add dash to spacemacs-bootstrap
2021-02-07 22:22:39 +01:00
Maximilian Wolff 884dc44a48
[eaf] Revise the new layer
Added default header to funcs.el
Replaced references to `,` with `SPC m`
Reformat and add conventional progn statements

Last but not least it seems that not all
functions are working properly, I think
this is a good basis but needs to worked
upon a bit more to reach its full potential.
2021-02-07 22:17:36 +01:00
Daniel Nicolai 5b9612f57e
Add Emacs Application Framework (EAF) layer 2021-02-07 21:34:50 +01:00
duianto 60ad8194d7 Refactor spacemacs/rename-current-buffer-file 2021-02-07 21:21:41 +01:00
Ray ddb0d02c51 Also run treemacs-load-theme on dired-mode-hook 2021-02-07 21:20:04 +01:00
Maximilian Wolff b82f505fba
[org] Try to fix eval errors caused by org-contacts-support 2021-02-07 21:08:03 +01:00
Maximilian Wolff 2341448531 [org] Revise org-contacts support 2021-02-07 08:13:26 +00:00
Daniel Nicolai 3a02c12ca7 Add org-contacts to org layer
Org-contacts is a handy contacts management system. It can be used to manage
(email) addresses (compatible with gnus, mu4e, notmuch etc.), birthdays and
more. It is much simpler than bbdb/ebdb and probably powerful enough for most
users.
2021-02-07 06:50:59 +00:00
Matthew Leach b18c87c832
[javascript] add npm-mode (#14347)
* [javascript] add npm-mode

Add npm mode to the javascript layer.  This allows easy execution of npm
commands at the project root from any javascript file in the project.

* [javascript] defer loading of npm-mode

Defer loading of the npm-mode package.

* [javascript] remove superfluous `progn'

The `:init' command is only a single command and thus doesn't need to be wrapped
in a `progn'.

* [javascript] fix typo in npm-mode docs

s/avilable/available/

* [javascript] add additional npm-mode commands

Add and document missing commands from npm-mode.
2021-02-07 07:46:06 +01:00
Daniel Nicolai 7276970c91
Implement C-(S)-tab buffer switch in Ivy layer 2021-02-04 23:33:39 +01:00
Maximilian Wolff c24905bf89
[markdown] Fix formating issues introduced in my last commit 2021-02-04 23:21:37 +01:00
Maximilian Wolff 88d09da807
[markdown] Fix syntax issues and revise readme and package.el 2021-02-04 23:02:31 +01:00
sunlin bc98f0cbb5
[markdown] more document for using markdown-command (#14312)
* [markdown] more document for using marking-command

* Update CHANGELOG.develop

Co-authored-by: Daniel Nicolai <dalanicolai@gmail.com>

* Update layers/+lang/markdown/README.org

Co-authored-by: Maximilian Wolff <smile13241324@gmail.com>

* Update layers/+lang/markdown/packages.el

Co-authored-by: Maximilian Wolff <smile13241324@gmail.com>

Co-authored-by: Daniel Nicolai <dalanicolai@gmail.com>
Co-authored-by: Maximilian Wolff <smile13241324@gmail.com>
2021-02-04 22:45:14 +01:00
winsphinx 662201fc05 diminish valign
That's too long for too much space.
2021-02-04 22:41:23 +01:00
duianto e8c84d4b37 [base] Fix void dired-mode-map
problem:
the attempt to hide the dired buffer, which-key entry:
r -> evil-mc

caused a void dired-mode-map message to appear on startup,
in the spacemacs-base distribution.

solution:
hide the which-key entry after dired loads.
2021-02-04 19:50:54 +01:00