Commit graph

4852 commits

Author SHA1 Message Date
duianto
d2d5a649ab [java] Add SPC m a prefix name: actionable 2020-01-04 15:50:22 +01:00
duianto
4c7e1954c5 [java] Fix key binding: SPC m m t C-a
SPC m m t C-a was bound to SPC m m t C - a
2020-01-04 15:47:24 +01:00
Ivan Yonchovski
3771759ddb [java][lsp] Minor cleanup in lsp-java
- Fixed setting dap-java shortcuts - ATM the shortcuts were not enabled due to
the fact that dap-mode configuration was overriding them since it was running
after this piece of code
- removed configuration code about lsp-java since it was either about
missing properties or about setting defaults already set by lsp-mode/lsp-java
(e. g. lsp-eldoc-render-all is now nil by default)
2020-01-04 12:27:11 +01:00
William Blasko
a337d55102 Add LSP docs for JavasScript to README.org 2020-01-04 09:23:04 +01:00
emacspace
9d379e4ff4
documentation formatting: Thu Jan 2 22:13:38 UTC 2020 2020-01-02 23:35:41 +01:00
Jacek Swierk
cefcce2caa
[helm] Fix rg interaction with its config file
If a user uses ripgrep persistent configuration file that sets options
helm overrides the argument parser for ripgrep might incorrectly parse
the command line used by helm.

The problem is encountered whenever an argument option occurs multiple
times and the last one is of this form: '--arg value' or '-a v'. If that
last argument is followed by the positional argument (input) then its
value will be treated as the input resulting in error due to too many
positional arguments.

In other worlds, this would fail to be parsed correctly:
    rg --max-columns=10 --max-columns 20 input
    rg --max-columns 10 --max-columns 20 input

While this works as expected:
    rg --max-columns=10 --max-columns=20 input
    rg --max-columns 10 --max-columns=20 input

The solution would be to use arguments in the form of '--arg=value'
which will never be treated as a positional argument.

Fixes #10953
2020-01-02 23:18:36 +01:00
Maximilian Wolff
7caddb0006
Document new keybinding for erc layer 2020-01-02 23:08:10 +01:00
Mpho Jele
488d6916e9
Fix erc-log transient state - change it to be in erc-view-log-mode
With the fix I also added a utility function to open a erc log file/buffer from
a erc chat/channel buffer.
2020-01-02 23:05:12 +01:00
Maximilian Wolff
728a3f56e2
Try to correctly tag kubernetes and vue layers 2020-01-02 22:56:00 +01:00
Maximilian Wolff
6784a0e0f8
Tag uncategorized layers 2020-01-02 22:42:13 +01:00
pancho horrillo
1fa28b345c [go] Update build instructions for golangci-lint
See #10825.

Try to match more closely the build process followed upstream:

- Force module build mode, which builds the latest stable release (not master),
and takes care of module replacements.

- Disable cgo.

- The -trimpath argument to go get requires go >= 1.13, which is also needed
because go <= 1.12 has a bug that causes problems with golangci-lint², as
explained in the golangci-lint installation instructions².

Note that the only thing that is missing to exactly match the upstream build
process is the addition of some -X variables, which only affect the data
reported by golangci-lint version.

¹: https://github.com/golang/go/issues/29612
²: https://github.com/golangci/golangci-lint#install

Thanks to @dbriemann and @seriousben for reporting and clarifying this issue!
2019-12-28 20:29:01 +01:00
duianto
010ede8c30 [rust] Update backend
Refactor duplicate "lsp layer not installed ..." strings, into a function.
Add line breaks to limit lines to 80 chars.
2019-12-28 16:17:51 +01:00
Grant Shangreaux
2e30b9bb09 [rust] remove compilation buffer string match on rust-quick-run 2019-12-28 15:44:42 +01:00
madand
081d8f29d4 [version-control] Use :toggle to avoid installation of unused packages
Usage of the `:if` keyword with `use-package` does not prevent Spacemacs form
installing the package, it only prevents the loading in run-time. This commit
employs the `:toggle` feature of the configuration layer system to prevent the
unneeded packages from being installed in the first place.

This further improves upon 31324f68bb
2019-12-27 17:39:51 +01:00
emacspace
c7d77dfc46 documentation formatting: Fri Dec 27 10:27:09 UTC 2019 2019-12-27 12:40:57 +02:00
JAremko
9b83609370 Add flycheck-elsa 2019-12-27 12:24:56 +02:00
jr0cket
b0d15851d9 add details of restricted functions
Detail how to use the layer variables to make use of restricted functions and
limit their scope to within a layout.
2019-12-26 18:22:53 +01:00
madand
37fdd1ef87 Toggleable hint for the Scrolling Transient State (~SPC N~)
By default the full hint is shown, which is consistent with the behavior before
this commit.
2019-12-25 08:20:50 +01:00
emacspace
679aeb99d9 documentation formatting: Tue Dec 24 10:03:00 UTC 2019 2019-12-24 11:32:52 +01:00
Ilia Kurenkov
629d8bd126 Fix docstring typo 2019-12-24 10:36:24 +01:00
Maximilian Wolff
97c746f51d
[dart] Make doc show lsp versions of flutter and format on save feature 2019-12-23 20:43:50 +00:00
duianto
53c1059582 [lsp] Change ecase to cl-ecase 2019-12-23 16:38:07 +01:00
Maximilian Wolff
0dc0820d62
Make rust-quick-run properly remove temp compilation function 2019-12-23 14:28:25 +01:00
Grant Shangreaux
59976dc688
Fix: broken rust-quick-run command
removing the `lexical-let` caused the intended closure to be invalid. the
filename being compiled was nil when the compilation-finish-function was
run.

this adds a special var to hold the temp file being compiled instead, and
tries to narrow down the compilation-finish-function to only run when the
compilation buffer includes the "rustc -o /tmp" regexp
2019-12-23 14:22:32 +01:00
Maximilian Wolff
0c774416d7
Make ruby layer load dap layer when lsp is used as backend
Before the ruby layer was only requiring standalone lsp layer,
however with the latest changes dap support has been added
therefore I have updated the layer file to require the full
dap layer instead which in turn requires the lsp layer.
2019-12-21 23:51:13 +01:00
Seong Yong-ju
82d4df4b0f
Fix key bindings in Ruby layer 2019-12-21 23:36:36 +01:00
Maximilian Wolff
ffccb17426
Revise dart layer
I have:
- Revised the documentation to be more clear about the possible backends
- Simplified the lsp setup code
- Removed redundant loading of company-lsp (is done by lsp-mode already)
- Made lsp the default backend for dart and mentioned that the analyser is
deprecated
2019-12-20 23:56:10 +01:00
Takeshi Tsukamoto
ffd8ad2410
Rework dart layer lsp integration 2019-12-20 19:32:36 +01:00
duianto
76ce0ac03e
[org] Un-evilify org-present-mode
Because [escape] was bound to evil-evilified-state
after exiting org-present-mode.
2019-12-20 19:06:34 +01:00
duianto
c5c1e31675
Fix searching in the helm-find-file actions 2019-12-20 18:53:25 +01:00
duianto
68a2f37670
Fix helm-find-files-edit action C-c C-e 2019-12-20 18:39:11 +01:00
emacspace
dcb17b8749
documentation formatting: Fri Dec 20 17:06:40 UTC 2019 2019-12-20 18:33:10 +01:00
Maximilian Wolff
beff6ec914
Replace lexical-let with normal let
An older PR reintroduced a dependency on lexical let.
There is no proper replacement for this in cl-lib therefore
I have changed it to a normal let which works the same
way.

In future we should think of making the entire file lexically bound
and only mark the exceptions to be dynamically bound.
2019-12-20 10:24:17 +01:00
Nikita Leshenko
0417379a2f
shell: Wrap terminal-here in use-package
Introduced in PR #11949, terminal-here wasn't wrapped in `use-package'. This
made it impossible to use `spacemacs|use-package-add-hook' to customize it.
2019-12-20 10:09:27 +01:00
Maximilian Wolff
67f62c6fd3
Improve documentation for flow-type a bit 2019-12-20 10:08:35 +01:00
JAremko
701c449f64 doc fixes 2019-12-20 01:21:01 +02:00
emacspace
5038781428 documentation formatting: Wed Dec 18 14:21:30 UTC 2019 2019-12-20 00:46:43 +02:00
Damien Picard
473d019b47 Fix keys not remapped by keyboard-layout
keyboard-layout was broken by commit da80634, which replaced cl by
cl-lib. Some function calls weren’t replaced. There may be old calls
remaining in other layers.
2019-12-18 15:02:42 +01:00
Nikita Leshenko
aaa11a6823 Convert case' to cl-case' to fix cl-lib related errors
Broken since PR #13059
2019-12-18 12:08:05 +01:00
Maximilian Wolff
6f029cc057
Integrate flow-js2-mode into flow-type layer
I have tried to integrate flow-js2-mode into flow-type in addition
I have fixed a couple of issues in the layer and replaced obsolete
react-mode bindings with rjsx-mode bindings.
2019-12-16 14:33:58 +01:00
Maximilian Wolff
c6d764e041
Revise flow-type layer
Revise documentation to be spacemacs conform
Reformat code
Make layer correctly declare a dependency on nodejs layer
2019-12-16 13:23:10 +01:00
Mike Holm
06c321d4ac
add jdelStrother's flow-type layer with some changes 2019-12-16 12:46:06 +01:00
Maximilian Wolff
153990bbc8
Add doc for org-table-field-info 2019-12-16 12:32:42 +01:00
Dominik Schrempf
bf1ef14c6c
[org-mode] org table field info keybinding 2019-12-16 12:27:26 +01:00
Maximilian Wolff
fabbb5bf73
Update changelog and format new code to be more elisp like 2019-12-15 22:27:24 +00:00
Dietrich Daroch
3d0661a38d
Make rust-quick-run shell agnostic
This allows to use quick run when the default shell is not bash-compatible.

I also fixed the output name by using a digest of the filename rather
than always a new file as I noted that my /tmp got cluttered with 4MiB
files pretty quickly, and I was just using a hello-world like file.
2019-12-15 22:22:36 +00:00
emacspace
eeff4c1420
documentation formatting: Sun Dec 15 21:56:35 UTC 2019 2019-12-15 22:03:17 +00:00
Kalle Lindqvist
1095d3b7d3
shell: enable prompt autojump when using smart-eshell 2019-12-15 22:01:41 +00:00
Maximilian Wolff
42d2433fc6
Revise osx layer
Add missing changelog entry
Reformat package file and update some styles according to the current standard
2019-12-15 21:53:18 +00:00
Christopher Eames (Chream)
0141c804f0
[osx] use init instead of post-init for exec-path-from-shell. 2019-12-15 21:49:51 +00:00