Commit graph

1701 commits

Author SHA1 Message Date
emacspace
560b51c324 documentation formatting: Thu Sep 12 15:09:22 UTC 2019 2019-09-12 21:44:20 +02:00
Mathieu
ab9acc0810 Fixed go-run-test-current-function for go test and gocheck 2019-09-12 15:25:57 +02:00
pancho horrillo
a7e27370e6 [go] Cleanup README.org
- Consolidate pre-requisites
- Revise document structure
- Clarify setup instructions
- Link key bindings to their supporting tools
- Remove ancient notes on go-oracle
- Fix typos
- Style fixes
- Apply suggestions from code review by @duianto

Thanks to @duianto for the comprehensive review!

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-09-12 14:25:51 +02:00
Jonathan Chen
a326913a9e docs: fix spelling 2019-09-11 18:40:40 +02:00
smile13241324
c1e98e5a36 Make julia layer declare lsp layer as dependency if enabled 2019-09-10 23:00:34 +02:00
Guido Kraemer
22f51cf70a Update julia-layer 2019-09-10 22:35:18 +02:00
smile13241324
b702df7938 Make layers request lsp dependency if lsp has been selected as backend 2019-09-10 22:00:56 +02:00
yqu212
9f72af3b73 Add lazy loading of lsp-python-ms 2019-09-10 21:15:59 +02:00
emacspace
6031fe2a41 documentation formatting: Thu Sep 5 19:09:25 UTC 2019 2019-09-05 21:24:39 +02:00
pancho horrillo
4c1245e8c5 [go] Drop support for deprecated gometalinter
gometalinter¹ was deprecated on 2019-02-28, in favor of the more advanced
golangci-lint.

. Drop references to gometalinter from README.org
. Update reference to available meta-linter (golangci-lint) in LAYERS.org
. Add attribution in CHANGELOG.develop

¹: https://github.com/alecthomas/gometalinter
2019-09-05 20:49:43 +02:00
Benjamin Hipple
61ed84be65 [python] Declare lsp layer dependency when python-backend is 'lsp
Previously, if a user set `python-backend` to `'lsp`, it would not do anything
unless the user also manually added the `lsp` layer to the spacemacs `init.el`
file. This commit updates the `python` layer to correctly add the dependency
when needed, like the `c-c++` layer does.
2019-09-05 20:36:31 +02:00
Gabriel Arrillaga
ec3bb9d660 [elixir] Fix README.org
Change elixir-backend from 'alchemist to 'lsp in LSP config instructions
2019-09-05 20:07:01 +02:00
Caleb Williams
fe77ade0f0 [json] Add option to format on save 2019-09-05 18:58:08 +02:00
emacspace
1299f262ca documentation formatting: Sun Sep 1 21:18:40 UTC 2019 2019-09-01 23:08:29 -04:00
John Stevenson
7afa22e1d0 [Clojure] Update Clojure layer linter documentation
Enhancement to Clojure layer documentation for the clj-kondo linter added via
pul request #12611

Moved instructions to install section as clj-kondo and squiqgly can be added as
Clojure layer variables, just like clj-refactor and sayid.

Changed the install instructions to make them specific and to use clojure layer
variables, which is consistent with other Clojure layer options.

Elaborated on the install instructions to clarify requirements, constraints and
recommended linting tool.

Added credits to the changelog.
2019-09-01 23:07:12 +02:00
emacspace
58d5bb9204 documentation formatting: Sat Aug 31 22:49:15 UTC 2019 2019-09-01 01:13:12 +02:00
Dieter Komendera
578689c497 [clojure] Fix jumping backwards after cider-find-var
`cider-jump-to-var` was renamed to `cider-find-var` here:
ceb2d7df75 (diff-e39c33031dc8d3e78b32ebee83293cd6L809-R846)

In https://github.com/syl20bnr/spacemacs/pull/9792/ `spacemacs/clj-find-var`
was added to be used as the jump handler for clojure modes. It uses
`cider-find-var` which doesn't push jump positions onto the evil jump stack so
the no longer current defadvice was more apparent.
2019-09-01 01:10:29 +02:00
mpanarin
3ee5aedbbf Add elixir-ls as a language backend for elixir 2019-09-01 00:33:39 +02:00
emacspace
7072f61922 documentation formatting: Sat Aug 31 21:42:39 UTC 2019 2019-09-01 00:24:30 +02:00
smile13241324
53553e2307 [python] Add lsp as possible python formatter 2019-08-31 23:21:03 +02:00
smile13241324
290cacf2a9 [python] Bind formatter to == only for LSP backend 2019-08-31 22:55:34 +02:00
cormacc
c4a05f7ebf Corrected keybinding collision (format-buffer)
`spacemacs/python-format-buffer` was bound to '='.
Subsequently clobbered by lsp layer declaration of '=' as prefix with subsidiary
keybindings.
Resolved by moving `spacemacs/python-format-buffer` binding to '=='.
Updated README accordingly.

Opportunistically added 'mspyls' dir to .gitignore
2019-08-31 22:19:53 +02:00
emacspace
592fb5863c documentation formatting: Sat Aug 31 19:04:38 UTC 2019 2019-08-31 22:15:53 +02:00
Luo Tianj
b71c78655f add flycheck-clj-kondo as an optional package 2019-08-31 20:58:30 +02:00
emacspace
e61e91fbc5 documentation formatting: Thu Aug 29 23:13:44 UTC 2019 2019-08-30 01:17:29 +02:00
Sam Hedin
62ea30b479 Add cider clojuredocs keybind, remove grimoire 2019-08-27 21:31:59 +02:00
pancho horrillo
877f577bab [go] Update doc on LSP setup.
`gopls` is Google’s upcoming Go language server; the other implementation
mentioned in the `lsp-mode` doc¹ has been discontinued².

So, I've added the recommended procedure³ to install `gopls`.

¹: https://github.com/emacs-lsp/lsp-mode/
²: https://github.com/saibing/bingo
³: https://github.com/golang/go/wiki/gopls
2019-08-26 17:58:51 +02:00
Rodolfo Hansen
e2d9e32e92 Add lsp-scala and metals as a language backend for scala 2019-08-26 17:50:07 +02:00
Ryota Kayanuma
57baa4ba4a Add kivy layer
Removed the kivy package from the major-modes layer.
2019-08-26 17:09:46 +02:00
Mathieu
272c96d855 Add Testify support for layers/+lang/go 2019-08-21 21:25:49 +02:00
sunlin7
53f1445ecc Fixed the =c-c++-default-mode-for-headers= should not affect the default behavior for Emacs > 26.1+ 2019-08-16 23:55:27 +02:00
emacspace
0ca502823c documentation formatting: Mon Aug 12 19:50:23 UTC 2019 2019-08-13 01:09:55 +02:00
Michael Hauser-Raspe
a500662a69 Add minimal zig mode. 2019-08-12 14:54:36 +02:00
Michael Hauser-Raspe
3df5b43d28 Remove stray ruby file. 2019-08-10 11:32:20 +02:00
Benjamin Levy
600ca198aa Add jump handlers for nasm-mode 2019-08-09 13:28:55 +02:00
yqu212
50203d2c0f Add names to autohotkey mode prefixes 2019-08-08 12:53:16 +02:00
smile13241324
316afaa0fa Make haskell mode bind repl under "'" 2019-08-02 21:33:15 +02:00
Russell Mull
b110ac09f9 Restore standard "si" binding for cider-jack-in-clj
It appears that this is still the common binding across all +lang layers.
2019-07-31 15:55:35 +02:00
emacspace
93af3927ea documentation formatting: Sat Jul 27 13:24:53 UTC 2019 2019-07-28 01:09:03 +02:00
syl20bnr
009777f6cf Add pre-dump for org, emacs-lisp and helm 2019-07-26 16:33:10 -04:00
Thanh Vuong
ce30353b52 js, ts and react layers: linter option
this PR does two things for js-related layers:

(i) add option to disable lsp linter
javascript-lsp-linter for javascript and react layers
typescript-lsp-linter for typescript layer
when the value is t, lsp linter will be used in the layer
when nil, let flycheck pick up the best linters available such
as eslint

(ii) when syntax-checking(flycheck) layer is installed, then set
next-error-function value in react and javascript layers to nil, so that
spacemacs next-error, previous-error work A desciption of this issue can be
found at https://github.com/syl20bnr/spacemacs/issues/8078

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-26 18:04:25 +02:00
Vityou
0835acd268 updated racket logo 2019-07-25 06:30:06 +02:00
Pepe Iborra
3e8578340d [haskell] include attrap when Dante is used 2019-07-21 20:23:30 +02:00
Guido Kraemer
e9afae2285 [python] Fixed typos 2019-07-15 22:48:12 +02:00
duianto
280050d4f2 [sql] Add SPC m g prefix: goto
And sort the prefix declarations alphabetically.
2019-07-13 16:06:53 +02:00
Michael Hauser-Raspe
ae7139612b Add sql connect to connect to saved sql connection 2019-07-13 15:53:26 +02:00
John Stevenson
cc43d5c898 [Clojure] keybinding spacemacs/clj-find-var
Update the existing `SPC m g g` keybinding to use the command
`spacemacs/clj-find-var`.  This makes finding a function definition a much
better experience as you dont have to have the REPL running to find a
definition, but when it is you can use a CIDER specific function.

`spacemacs/clj-find-var` is a wrapper that calls `cider-find-var` if the REPL is
running, otherwise it uses `dump-jump-go`.

Wrapper added in #9792
2019-07-13 15:12:55 +02:00
John Stevenson
8fd218f1e8 [Clojure] keybinding for updated repl jack-in commands
Latest CIDER release uses the following commands for starting the REPL from
within Emacs

`cider-jack-in-clj` to start a Clojure REPL
`cider-jack-in-clj&cljs` to start a Clojure and ClojureScript REPL
`cider-jack-in-cljs` to start a ClojureScript repl

The older aliases are deprecated and are being removed in the latest beta
release of CIDER

`cider-jack-in`
`cider-jack-in-clojurescript`

Keybindings for these jack-in commands have been updated and as there are three
options they have been moved under the repl > jack-in

The top level of the Clojure mode menu has the existing keybindings updated to
use the new commands.  A third top-level keybinding `&` has been added for
`cider-jack-in-clj&cljs`
2019-07-13 14:41:06 +02:00
duianto
e12278a323 Revert "[Clojure] Keybinding require Clojure repl utils in current namespace"
This reverts commit 034ee0c311.

It was rebased with the previous commits message.
2019-07-13 14:40:44 +02:00
John Stevenson
034ee0c311 [Clojure] Keybinding require Clojure repl utils in current namespace
Although the Clojure repl utils (clojure.repl) are including in the user
namespace in Clojure projects, they are not available in your application
namespace.

The existing CIDER function cider-repl-require-repl-utils adds the Clojure
repl utils into the current namespace, so you can use functions such as doc
and source.

This is often a source of confusion for those new to Clojure / CIDER.
2019-07-13 12:50:11 +02:00