Commit graph

1690 commits

Author SHA1 Message Date
Dave Aitken
f40361fd64 Add reasonml layer 2019-06-25 12:03:36 +02:00
Georgi Lyubenov
f2a6872afb Adapt agda2-auto call to agda 2.6.0 changes
* It's now agda2-auto-maybe-all. If you are not currently in a hole
it tries to `auto` all holes by default.
* Find and set an agda-version variable, to keep compatibility with
previous agda versions.
2019-06-23 16:47:33 +02:00
Jim Pudar
0f40fe9df2 Improve point handling in perltidy functions
This moves the point and content of the window close to where you were
before you ran perltidy. Of course if perltidy adds or removes a
significant amount of characters / lines as part of tidying, the point
will be moved by that amount. However in practice this I've found this
to be close enough.
2019-06-21 19:04:34 +02:00
emacspace
cbe174021c documentation formatting: Mon Jun 17 06:48:02 UTC 2019 2019-06-17 09:05:38 +02:00
cormacc
b80154bd52 Corrected instructions relating to ms language server from git 2019-06-15 23:55:20 +02:00
John Stevenson
bb34374818 Add keybinding for cider-interupt
Interrupt longer running evaluations without having to kill or reset the REPL
connection.

Placed in the evaluate section, as it is specific to the currently running
evaluation.
2019-06-13 15:27:02 +02:00
duianto
47f83609d5 [clojure][doc] markdown inline code to org verbatim
Change surrounding characters: markdown inline code to org verbatim.
2019-06-13 01:27:48 +02:00
Michael Franz Aigner
ddf7459a02 Fix lazy-loading of ruby-test-mode
This change fixes a syntax mistake in the use-package declaration of
ruby-test-mode that causes the package to be loaded immediately, instead of
deferring the load until the first ruby file is visited, as is intended.
2019-06-12 19:37:26 +02:00
Liu Chong
bd61f2e8a0 Remove cider.nrepl/cider-middleware in lein quick start setting
Don't need this `cider.nrepl/cider-middleware` in lein profiles.clj.

It will result in error, the `cider.nrepl/cider-middleware` not middleware but a vector of all cider-nrepl middlewares:

> https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl.clj#L483
2019-06-12 19:31:16 +02:00
emacspace
3d4e6fc0df documentation formatting: Sun Jun 9 19:54:33 UTC 2019 2019-06-09 22:02:10 +02:00
sunlin7
70a5a40d54 Make projectile recognize C++ projects by search for ".ccls" file 2019-06-09 21:59:46 +02:00
smile13241324
9ebf17af49 Make javascript layer adhere to REPL conventions and fix typescript doc 2019-06-09 21:21:30 +02:00
Uros Perisic
eee7d20bfe Add and configure nodejs-repl package to javascript layer.
Add relevant keybindings and documentation, including a setting
`js2-include-node-externs` as a configuration variable for those that intend to
use `Spacemacs` for node projects, as it currently seems to be mostly aimed at
pure JS (https://github.com/syl20bnr/spacemacs/issues/483).
2019-06-09 18:29:08 +02:00
Ryan
f1d55ed002 Add eslint as option for linting typescript 2019-06-09 17:59:01 +02:00
刘冲
803d4e7202 Fix mismatched brackets in markdown README
Added a missing close bracket and removed the useless line `dotspacemacs-configuration-layers '(`
2019-06-08 21:49:23 +02:00
Magnus Therning
37dcecbec9 Put the jump handlers straight into the buffer var
Fixes #12238
Fixes #12289
2019-06-06 14:36:09 +02:00
duianto
4cb9226302 Update changelog.develop and markdown readme 2019-06-05 22:45:34 +02:00
AmaiKinono
234c7e7e10 rebind markdown-insert-list-item to M-RET M-RET 2019-06-05 22:28:49 +02:00
AmaiKinono
0fcdf44b34 Add various keycommands to markdown layer. 2019-06-05 22:28:49 +02:00
Anton Alekseev
832ddd4268 Enable prettier formatter for HTML buffers 2019-06-05 18:48:54 +02:00
emacspace
fc36771313 documentation formatting: Sun Jun 2 20:15:51 UTC 2019 2019-06-02 23:47:05 +02:00
cormacc
00b2db982d Added support for Microsoft Python Language Server
<<26/04/2019>>
Incorporated feedback from robbyoconnor and yyoncho.
Rebased.

<<08/04/2019>>
Rebased on develop tip

<<17/04/2019>>
Rebased

<<02/06/2019>>
Rebased. Incorporated feedback from duianto.
2019-06-02 21:14:50 +02:00
Boris Buliga
06730f24cc use orgtbl-mode only when org layer is used
1. Fixes #6535 - when org layer is not used, user will see an error upon
   visiting markdown file.
2. Mention orgtbl-mode in readme.
2019-06-02 20:50:51 +02:00
duianto
3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
duianto
7dace901a2 [javascript][doc] Update key toggle live evaluation
The key binding was changed in this commit:
javascript: change key binding for repl live eval toggle
8bc9060af8

This updates the documentation.
From: SPC m s a
To:   SPC m T l
2019-06-01 14:49:27 +02:00
Seong Yong-ju
ff4a08d3fa Add a missing prefix for plantuml-mode 2019-05-31 18:12:41 +02:00
Seong Yong-ju
59504029b1 Configure emmet-mode for typescript-tsx-mode 2019-05-31 17:57:37 +02:00
Seong Yong-ju
1e00461dd8 Organize the header file includes in C++ buffer 2019-05-31 17:34:36 +02:00
Seong Yong-ju
80ff9053a3 Add rubocopfmt to format Ruby buffers 2019-05-31 16:58:57 +02:00
Seong Yong-ju
afa3dd0870 Add LSP support for stylesheet buffers 2019-05-31 16:37:02 +02:00
Christopher Eames
39ce04ccd9 fix indent-command. 2019-05-28 18:40:20 +02:00
benbotwin
d1934f8e30 [sql] Add send line functions
Add wrappers forcing non-pop commands to not pop to the SQLi buffer
2019-05-28 18:06:28 +02:00
emacspace
2aa62bb5ed documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00
JAremko
ce4e6e355f tag docs 2019-05-28 17:35:49 +03:00
David Parrish
0f9315e634 Add FAQ entry for using hlint with Intero backend 2019-05-28 13:04:08 +02:00
et2010
2e6e69eeff latex layer: add company-reftex 2019-05-28 11:47:03 +02:00
Billy Kaplan
5a0ab04653 Adding Ruby LSP Backend and DAP support 2019-05-27 22:09:31 +02:00
emacspace
c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Ivan Yonchovski
23df5aa55e [java] Sync java lsp backend with latest lsp-java functionality
- new keybinds for the new functionality
2019-05-20 20:26:14 +02:00
JAremko
5cc823cc0f add flycheck-clojure 2019-05-18 02:17:43 +03:00
JAremko
988e6778ba
fmt docs 2019-05-15 21:10:07 +03:00
Anton-Latukha
f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Anton-Latukha
2ee74f55da layers: lang: new structure: add DSL (&markup), framework, util
layers: lang: mv framework -> programming/framework

layers: programming: framework: upd
2019-05-15 21:05:09 +03:00
Anton-Latukha
ba074bc908 layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00
syl20bnr
c471d91757 [ocaml] Sort key bindings 2019-05-12 21:57:17 -04:00
Lyman B. Gillispie
af55934995 [ocaml] Add support for dune via dune-mode.
Dune is a popular build-tool for OCaml projects, the `dune` package adds:
 - Adds syntax highlighting
 - Template insertion
 - Some testing/compilation functions
2019-05-12 22:22:13 +02:00
syl20bnr
6bb459fcf1 [alda] Sort key bindings 2019-05-12 11:31:01 -04:00
syl20bnr
8c9f3f8c4f [alda] Add image to README.org 2019-05-12 11:29:15 -04:00
syl20bnr
0d123b28db [csharp] Change execute test key bindings to conventional ones
~SPC m t t~ is for test around point
~SPC m t l~ is to re-execute the last test
2019-05-12 10:09:10 -04:00
syl20bnr
6d8040f2db Replace some if by when where appropriate 2019-05-12 10:01:05 -04:00
syl20bnr
949b194bbd [common-lisp] Document new key bindings for evaluation 2019-05-12 09:54:39 -04:00
emacspace
7a9c455277 documentation formatting: Sun May 12 07:27:10 UTC 2019 2019-05-12 09:29:46 +02:00
duianto
5f0c40abb1 [alda] Update readme.org
Removed Table of Contents, the documentation bot will insert the correct TOC.
2019-05-12 09:19:30 +02:00
Andrew Hill (AstroEngiSci)
875ce4c85f Add Alda configuration layer 2019-05-12 00:30:20 +02:00
Brandon T. Willard
289cd5ad42 Update Hy key maps and use-package settings
These changes adjust the `hy-mode` key-map and make use of `use-package`'s
`:mode` and `:interpreter` settings.

Regarding key-maps, the REPL prefix `s` has been added alongside `e`, since `s`
seems at least as conventional among layers as `e`.  Although `e` is used for
Elisp and Clojure, it isn't used for Python or Racket.  Scheme appears to use
both, so there's some precedence for the approach used here.
2019-05-06 17:06:48 +02:00
Alex Palaistras
8fb3be891d sql: Add default jump handlers for SQL layer
Recent versions of `dumb-jump` have support for jumping to definitions for generic SQL buffers, and
support in Spacemacs requires that we enable these in the `sql` layer.
2019-05-05 22:42:08 +02:00
JAremko
77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
Bet4
6c403bd004 semantic: disable idle summary when lsp is enabled
Solved #10477
2019-05-04 17:18:28 +02:00
Bet4
bb86989775 semantic: enable company and disable idle summary when gtags is enabled 2019-05-04 17:18:28 +02:00
JAremko
5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
duianto
b26ea277fb Add documentation to two toggles
Two `SPC h SPC` toggles were missing their documentation:
- Nameless
- Minibuffer System Monitor (the symon package)

Now they match the other entries by showing:
- current state
- name (this was only shown before)
- documentation
- key binding (only minibuffer-system-monitor shows a key binding)

The nameless key binding `SPC m T n` only works in emacs-lisp-mode. It's key
binding might need to be described another way.
2019-05-01 01:24:12 +02:00
Artur Juraszek
033e960c94 Keyword flycheck-ocaml with :toggle instead of using a when 2019-04-30 18:50:39 +02:00
JAremko
fbff2ca7bc Doc fixes + some tags for testing
Add new LAYERS.org generator [WIP]
2019-04-28 07:03:09 +03:00
JAremko
aa7f1d7e0f Reword changelong message in CI 2019-04-28 07:03:09 +03:00
emacspace
6f6b064c7e documentation formatting: Sat Apr 27 00:15:28 UTC 2019 2019-04-27 02:23:35 +02:00
duianto
28571f4465 [csharp] Hide mode-line indicator: omnisharp 2019-04-27 02:07:37 +02:00
duianto
603d36c5dc [csharp] Add SPC m t which key prefix: csharp/tests 2019-04-27 01:57:34 +02:00
Saulius Menkevičius
708aabe64c Add more key mappings for unit test functionality in csharp layer. 2019-04-26 22:21:39 +02:00
Trapez Breen
9665670f8e Adding format on save to javascript layer.
Adding formatting on save option to javascript layer, similar to typescript
layer. One small syntax error fix in typescript layer.
2019-04-25 20:26:07 +02:00
Bet4
44cd57d2e2 Remove the use of 'spacemacs|advise-commands' 2019-04-25 19:30:29 +02:00
Bernhard Schommer
31bff63404 [ocaml] Fix typo in diagnostic message. 2019-04-24 16:33:00 +02:00
emacspace
202da65b1c documentation formatting: Sun Apr 21 20:04:25 UTC 2019 2019-04-22 23:16:20 +02:00
JAremko
23842fa77e Simplify descriptions of layers 2019-04-21 22:09:34 +03:00
John Stevenson
831107f478 [clojure] keybinding - cider-undef - remove symbol from current ns
Adds `SPC m e u` to the Clojure layer to call `cider-undef`, removing an
existing definition from the current namespace.

This provides a Spacemacs style keybinding for the existing Emacs style
keybinding `C-c C-u`
2019-04-20 15:26:55 +02:00
Aaron Jensen
f977732687 emacs-lisp: Initialize flycheck-package 2019-04-18 21:46:32 +02:00
emacspace
912f69ef9d documentation formatting: Thu Apr 18 19:16:31 UTC 2019 2019-04-18 21:39:10 +02:00
Ivan Yonchovski
e80a4fa0ab [rust] dap layer integration 2019-04-18 21:32:32 +02:00
Thanh Vuong
9bb9038920 Move "import-js" to own layer for js based layers
Refactor import-js to its own layer import-js so it can be optional
used for the tree layers Javascript, React and Typescript layers.
2019-04-18 21:08:43 +02:00
smile13241324
072c01f5f5 Fix binding for "capitalize keywords" in sql-layer
Noticed a new warning during startup saying
that sqlup-mode is using "=c" where "=" is no
prefix key. Noticed that the entire binding
was not carried out in this case.

Therefore I have removed "=" from the binding
but left it on "c" until enough text
manipulations are available, then it should
be moved to "x text manipulation" group instead.
2019-04-18 18:58:40 +02:00
Mike Macpherson
c339656172 python: Add support for black formatter 2019-04-18 18:34:09 +02:00
Newres Al Haider
f5cd5959b3 Add Prolog layer 2019-04-18 18:14:18 +02:00
Trapez Breen
d25b329c17 Shadow python-mode-hook during python-send-shell-* 2019-04-18 17:56:47 +02:00
emacspace
0b90e116f5 documentation formatting: Wed Apr 17 13:48:54 UTC 2019 2019-04-17 23:36:35 -04:00
Seong Yong-ju
610ecbbf70 Add godoc installation into go layer README 2019-04-17 15:37:52 +02:00
Seong Yong-ju
e48fa85d96 Add missing prefix for js2-mode 2019-04-17 15:37:15 +02:00
Trapez Breen
2206095be8 Added instruction on installing importmagic and epc.
Importmagic and epc isn't really optional if error messages are to be avoided.
2019-04-17 09:14:01 +02:00
trapez.breen
a8b7c0d591 Adding the same setup to typescript-tsx files as to typescript files.
Changed typescript major mode formating to "=".
2019-04-17 00:13:58 +02:00
Ivan Yonchovski
2129f203c4 [javascript] integration with dap layer
- Fixed also instructions on language server selection
2019-04-16 23:46:48 +02:00
duianto
e726a70685 Revert "Remove form-feed characters"
This reverts commit bd91a0b2b8.

The form-feed characters are used in multiple places.
2019-04-16 22:35:42 +02:00
emacspace
3e97b8e8f3 documentation formatting: Mon Apr 15 20:21:30 UTC 2019 2019-04-15 22:56:31 +02:00
Ivan Yonchovski
f4264b5df1 [c++] dap layer integration
- in addition to that I have removed the line that removes clangd from the
server list since it is not needed in latest lsp-mode since it has smaller
priority than ccls/cquery.
2019-04-15 22:13:23 +02:00
Ivan Yonchovski
03e6bc0691 [java] init backends conditionally
- otherwise there are shortcut collisions
2019-04-15 21:20:32 +02:00
Ivan Yonchovski
59c4f1f283 Use dap mode layer for python debugging
- I had to remove the "db" keybinding manually before setting the dap bindings.
  An alternative approach is to use a different binding for it.
2019-04-15 20:56:27 +02:00
Francesc Elies Henar
01bd56f120 [csv] binds SPC m h to csv-header-line 2019-04-13 14:31:55 +02:00
emacspace
6cde1e49bc documentation formatting: Fri Apr 12 19:31:31 UTC 2019 2019-04-12 22:02:05 +02:00
smile13241324
6a32d31da8 Fix accidental activation of flycheck-pos-tip-mode in emacs lisp layer
The issue was that `flycheck-package` explicitly
activated `flycheck-pos-tip-mode` however
this package is owned by `syntax checking layer`
and should only be activated by it directly.
2019-04-12 20:31:37 +02:00
Bruno Tavares
9e2da23c12 Removes workarounds and update flycheck integration
This commit removes the workarounds needed on older versions of `dart-mode` library, now that many of the fixes have landed.

This commit also fixes the integration with flycheck, as there is a new function used on the `develop` branch.
2019-04-12 18:00:00 +02:00
Bruno Tavares
7841d3ba6a Introduces Dart layer
This is a initial implementation of a Dart later.
A [previous implementation] has been deprecated, using a forked version of `dart-mode`.

This layer uses the [dart-mode] linked on the [Dart tools] page.
The layer works with a Flutter installation as well.

Ideally, we would be able to offer a `lsp` backend as an option to use, instead
of using the Dart Analyzer, but I'm still figuring out how to implement and
integrate this.

This layer has [some] [fixes] to make it work, and it is waiting for upstream to
take patches.

- Resolves https://github.com/syl20bnr/spacemacs/issues/8333
- Resolves https://github.com/syl20bnr/spacemacs/issues/8395
- Resolves https://github.com/syl20bnr/spacemacs/issues/10452

---
[previous implementation]: https://github.com/syl20bnr/spacemacs/pull/8406
[dart-mode]: https://github.com/bradyt/dart-mode
[Dart tools]: https://www.dartlang.org/tools
[some]: https://github.com/bradyt/dart-mode/pull/67
[fixes]: https://github.com/bradyt/dart-mode/pull/66
2019-04-12 18:00:00 +02:00
Uros Perisic
66b3a0ba01 Make spacemacs/nim-compile-run work with current buffer file.
Naming the main file `main.nim` is a `C` convention, not a `Nim` convention. In
fact, `Nimble` defaults to naming the main file after the project at
initialization. I will soon add a function that parses the Nimble configuration
for project entry point and compiles that. Until then, this is a solid
compromise between flexibility and reliability. I also added a doc-string to the
function.
2019-04-11 23:13:15 +02:00
Serghei Iakovlev
6e404256e2 Update ac-php-core documentation 2019-04-11 22:51:01 +02:00