Commit graph

839 commits

Author SHA1 Message Date
Tor Hedin Brønner
824356b679 Enable ensime completions properly for java 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
c68af66459 Add readme to Ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
9aa4bde282 Add ensime support to java
New variable `java-backend' controls whether to use eclim, by default,
or ensime.

The setup is identical to scala and as such there's some functionality
included that still isn't supported in java.
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
dcba84bff4 Move initialization code to ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
a5d6171c28 Move keybinding setup to the ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
5199ddbfcf Rename moved scala functions
Functions under the ensime layer should start with `ensime/'
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner
ab0ec8a777 Move ensime to it's own layer 2017-03-19 12:40:36 -04:00
bmag
6f463c4d0e TeX fold: add comment about not-autoloaded commands 2017-03-06 15:58:26 +02:00
nashamri
f8306a4f5c Add shortcuts for missing latex folding functions 2017-03-06 15:51:03 +02:00
bmag
f853b78148 Refactor long comment 2017-03-06 15:46:01 +02:00
kenkangxgwe
f5c5fdd735 Add extension ".wl" for wolfram-mode 2017-03-06 15:44:23 +02:00
Juraj Martinka
c48921ab2d Fix typo in Clojure layer README 2017-03-02 16:12:37 +01:00
syl20bnr
3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
syl20bnr
8f1a5d6fd5 coq: fix some configuration
- delete some diminish expressions which are not related to PG and user
  spacemacs|hide-lighter instead of spacemacs|diminish
- move company related configuration to the correct place
- move setq expressions to :init blocks to allow users to easily change them
2017-02-12 23:45:56 -05:00
syl20bnr
3da2f3702e emacs-lisp: don't use custom-set-variables
As it make evil to error when the delq form is written the customize file,
instead we call the set method manually and it works fine.

Would be better and more future proof to curry the set function into a named
function of 0 arity for evil-intercept-maps custom setting.
2017-02-12 22:59:26 -05:00
syl20bnr
76b0d3c48a csharp: comment typo 2017-02-12 22:24:25 -05:00
syl20bnr
fe168f07b3 coq: update key bindings and README
README:
- add `SPC m` prefixes to follow the style of the other READMEs
- Sort key bindings alphabetically

Key bindings changes made to be more mnemocnic and/or to better fit the other
key bindings of other layers:

- SPC m p b --> SPC m p p (show prover process buffer)
- SPC m p c --> SPC m p i (interrupt prover process)
- SPC m p x --> SPC m p q (quit prover process, maybe SPC m p k for kill would
  be better ?)

- SPC m a p --> SPC m a a to print query
- SPC m a n p --> SPC m a A to print query showing all
- SPC m a i p --> SPC m a i i to print query showing implicits
- Ask showing all bindings use the same keys as regular Ask but the last key
  is capitalized, example: SPC m a b (ask about) and SPC m a B (ask about
  showing all)
- Ask showing implicits are still on SPC m a i (we could also use Control key,
  for instance SPC m a b (ask about) and SPC m a C-b (ask about show implicit),
  it depends on how frequent showing implicits are used).

- SPC m g . --> SPC m g l (go to end of Locked command)
- SPC m g d --> SPC m g g (using the jump handlers facility of Spacemacs)
- SPC m g a --> SPC m g s (to go to start of command)
2017-02-12 22:24:25 -05:00
Jeremy Bi
8b72130fc5 Add coq layer 2017-02-12 21:31:44 -05:00
syl20bnr
d97143be08 emacs-lisp: remove SPC g f as it is already available with SPC j f 2017-02-12 13:49:40 -05:00
syl20bnr
aa6cdd938e emacs-lisp: update README and add an interactive edebug quick start 2017-02-12 13:48:23 -05:00
syl20bnr
a0bcbbd38a Add conventional evilified key bindings for edebug-mode 2017-02-12 13:48:02 -05:00
syl20bnr
87cd00eac7 conventions: update debug conventions
Step in and Step out are now, i and o respectively.
Inspect a value is now v.
Next step is now s.

These new conventions better fit evilificiation.
2017-02-12 13:02:55 -05:00
syl20bnr
36b6b29cde Fix evilification of edebug-mode-map 2017-02-12 12:50:07 -05:00
syl20bnr
6e713ed89f emacs-lisp: add support for debugger and edebug
Make edebug key bindings work in normal state.
Add evilification of debugger stack trace buffers.
2017-02-11 17:23:14 -05:00
syl20bnr
64e0787123 emacs-lisp: add SPC m g f to go to a selected known function definition 2017-02-11 17:23:14 -05:00
syl20bnr
f6ccc1eb6f Add JR programming language layer 2017-02-10 14:48:37 -05:00
Tim Jaeger
acaf0e31f5 Implement layer for developing in the Forth language 2017-02-09 18:00:32 -05:00
syl20bnr
cbab7cac59 markdown: add SPC m i t key binding to instert toc 2017-02-09 17:02:50 -05:00
d12frosted
57e653a221
minor improvements in elixir README file 2017-02-03 11:10:40 +02:00
denin
52ea26a052
elixir: add support for credo
There was no flycheck-credo package in the layer.
Although it was described in documentation, how to install credo.
This commit fixes documentation and adds flycheck-credo package.
2017-02-03 11:09:07 +02:00
syl20bnr
6c1f221196 restructuredtext: mention auto-complete-rst to README 2017-02-02 15:01:07 -05:00
syl20bnr
42b2c4a144 restructuredtext: fix auto-complete conflicts with flyspell and linum 2017-02-02 14:56:13 -05:00
syl20bnr
a1e63424e2 reST: Extract sphinx specific config to a stand alone sphinx layer 2017-02-02 14:55:18 -05:00
syl20bnr
7ced78089d restrucutredtext: rename deprecated extensions folder to local 2017-02-02 14:37:19 -05:00
syl20bnr
56377cf1b3 Rename ReST layer to restructuredtext and clean up layer
rest can be confusing since there is already a restclient layer.
2017-02-02 09:37:34 -05:00
Wei-Wei Guo
9399de0ddc Add ReST layer 2017-02-02 09:09:31 -05:00
d12frosted
bb3e5c8289
fix go layer headers 2017-02-01 16:06:00 +02:00
d12frosted
2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +02:00
Benedek Fazekas
970acddacf Clojure refactor: replace cycle coll with convert to coll
Cycle collection type was recently removed from `clj-refactor` as the
feature was migrated and rewritten in `clojure-mode`. The new feature
lets the user convert a collection into a specific collection type
instead of cycling through them.

To added shortcuts correspond to the shortcuts of this feature in
`clojure-mode` and placed in the refactor submenu.
2017-01-26 12:09:50 +00:00
d12frosted
ab878bd7ac
update cider keybindings doc 2017-01-23 13:25:48 +02:00
Ivan Plyusnin
15e86700ec
Fix number of arguments in calling cider-test- funcs 2017-01-23 13:21:38 +02:00
syl20bnr
cf5dac00ad core: move and rename spacemacs//get-package-directory
Move it to core-configuration-layer.el
Rename it to configuration-layer/get-elpa-package-install-directory
2017-01-17 00:20:59 -05:00
syl20bnr
70c6fcef02 common-lisp: add SPC m h i to inspect a definition 2017-01-12 22:33:09 -05:00
Michał Herda
e12f469aa2 Layer common-lisp - set jump handler to SLIME-EDIT-DEFINITION
https://github.com/syl20bnr/spacemacs/issues/8043

"Go to definition" should go to the definition - meaning, where the function is defined in the source code.

I am for changing the default keybinding to `slime-edit-definition` because it fulfills this - allows the user to see the source code for a given function.

`slime-inspect-definition` does not open the source code - it opens the SLIME inspector with the function **object** open in the inspector. While the function **object** contains some valuable data, it does not contain the *definition* itself - which is what the user wants in this case.
2017-01-12 22:29:54 -05:00
ilia
acb2d379c0 Fix cider and cider-repl modes in company configuration 2017-01-07 00:21:45 +03:00
Eivind Fonn
3bbeaee2b2 Don’t configure company in init-cmake-mode
This is already taken care of in post-init-company
2017-01-06 12:01:18 +01:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
zilongshanren
c22991d587
remove un-intended quote in company-anaconda 2017-01-05 08:58:01 +02:00
Brent Taylor
1ff7c10f19
Fix python path with virtualenv on Windows in Python nose package 2017-01-04 22:38:25 +02:00
Saulius Menkevičius
414396595b
Fix issue with jump handler in omnisharp-mode where the handler is async
This fixes an issue where default jump handler, like dump-jump-go runs
in sync and omnisharp-go-to-definition is not able to actually go to
definition until it completes thus slowing down the completion process.

A similar issue (for C++) was fixed in syl20bnr/spacemacs#6904
2017-01-04 22:35:45 +02:00
Steven Allen
9fb2634817
Fix eldoc initialization in typescript layer. 2017-01-04 22:04:25 +02:00
syl20bnr
74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
syl20bnr
bdd4e6c23f typescript: move eldoc config to init function 2017-01-02 00:12:51 -05:00
syl20bnr
c725823e73 javascript and react: reformat code and move funcs to funcs.el
Some conventional cleanup.
Note that the function `spacemacs/js2-refactor-set-key-bindings` has been
removed since it is not used anywhere.
2017-01-01 22:45:23 -05:00
syl20bnr
ab34cc2d9d html: set company min. prefix length to 0 for company-web backend
for more info: https://github.com/osv/company-web/issues/4
2016-12-31 00:14:30 -05:00
syl20bnr
e1efeea5d6 html: fix addition of company backends
Move add-company-hook calls to correct init functions (only css backend is from
company package, the others are from company-web).

Correctly add company backends for jade and slim. Jade has been renamed to
Pug , there is no guarantee at all that jade references still work. To check.
2016-12-31 00:01:58 -05:00
ralesi
81b782e5df company-web: defer company-web loading 2016-12-30 23:23:43 -05:00
Koray Al
aaefaa3573
Added auto load virtualenv support via .venv file
The `pyvenv-mode` doesn't provide a list of available virtual
environments. So it's not currently possible to check if the
provided virtualenv name is available
2016-12-27 09:55:28 +02:00
syl20bnr
a5c87776d1 emacs-lisp: fix eval-last-sexp and add SPC m e C
Important evil advices for eval-last-sexp were removed for smartparens users,
it made eval-last-sexp not working correctly in normal state by evaluating the
sexp before the evil cursor and it was impossible to evaluate an sexp when the
cursor was on the last character of a line.

Also add SPC m e C which will execute the first defun or setq sexp encountered
before point.
2016-12-24 12:06:17 -05:00
Michal Muskala
831b01fd8e
Prevent from inserting too many "end"s in Elixir
Closes #8030
2016-12-23 14:02:52 +02:00
syl20bnr
5d73a500c0 markdown: hide MMM linter in mode-line 2016-12-19 10:50:14 -05:00
syl20bnr
cb98c42ed8 markdown: correctly enable mmm-mode and add support for ini files 2016-12-19 10:46:46 -05:00
Corey Grunewald
b67118c8ca
Mark tern command as async. Fixes #7591. 2016-12-18 11:44:32 +02:00
d12frosted
628562f0f7
add glsl-company to shaders layer 2016-12-14 20:21:28 +02:00
Danny Navarro
6288b28bb0
Remove sbt-hydra rename wrapper
It has been already renamed as expected upstream.
2016-12-12 08:56:06 -03:00
Swaroop C H
a0aad96050 Add key binding to run current Rust file
Meant for a quick-prototype flow only - use `spacemacs/open-junk-file' to
open a junk Rust file, type in some code and quickly run it.
2016-12-09 18:14:22 +02:00
d12frosted
20741006b3
add missing header in lua/packages.el file 2016-12-02 20:42:11 +02:00
Justin Burkett
7bf00ad878 which-key: Update usage of replacement alists
See 19186917eb
2016-11-25 12:32:10 +02:00
Svyatoslav Gryaznov
32f9f97970 Fix typo in Agda's packages.el 2016-11-14 14:40:23 +02:00
bmag
58c8fd515a rust: respect help-window-select, small fixes
- spacemacs/racer-describe to respect help-window-select
- replace evilified-state-evilify{,-map} and move to :config
- change funcs.el from dos format to unix format (newlines)
- modify spacemacs-jump-handlers-rust-mode only once
2016-11-12 16:20:28 +02:00
NJBS
f786c1fa88 Rust: Add binding for describing symbol at point 2016-11-12 16:20:28 +02:00
Dennis Brakhane
a13471447f
Update ensime variable name
user-emacs-ensime-directory was renamed to ensime-startup-dirname
2016-11-12 14:58:17 +02:00
ksjogo
12284e16b0 Removed deprecated insert-string and replace by insert 2016-11-11 15:23:49 +02:00
pnagy
bee9ecc858 fix void-variable company-backends-scheme-mode 2016-11-04 10:40:39 +01:00
Francesc Elies
29049dd3ac
Update README.org
Uses flycheck instead of flycheck-typescript-tslint
2016-11-03 19:00:53 +02:00
Eivind Fonn
f94ca2a8cc go-guru on MELPA 2016-10-26 09:48:24 +02:00
yangguang760
67ac25c80a fix debug string for python3
fix debug string for python3:
ipdb  ->  ipdb3
pudb  -> pudb3
2016-10-23 19:44:35 +02:00
Romanos Skiadas
fa16fa90e0 Fix eclim documentation in Java layer
`eclim-eclipse-dirs` is a list, not a string.
2016-10-23 19:44:35 +02:00
Aldric Giacomoni
81388bc1e4 Scala readme: code block for scala-enable-eldoc 2016-10-23 19:44:35 +02:00
Chen Zhang
9da665dd82 ipython: Update matplotlibrc
It comes from an offical "UserWarning":
> axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter

But axes.prop_cycle receive a new format of parameters, this will fix it.
2016-10-23 19:44:35 +02:00
Eivind Fonn
9c966a8d8f Simplify python test runner setup 2016-10-23 19:44:35 +02:00
syl20bnr
7ee75bb752 nim: fix key bindings in README 2016-10-18 22:49:34 -04:00
YeJun Su
2f263e998c
Remove check for GOPATH when init go-guru
go-guru.el has been moved to https://github.com/dominikh/go-mode.el

FYI, 69f6f5b782
2016-10-18 10:47:40 +03:00
syl20bnr
fd07fd47ef New package insert-shebang 2016-10-17 15:32:43 -04:00
Jacob Lewallen
cbb195141c Match entire path after -I for passing to expand-file-name.
Otherwise I was seeing these transformations:

invocation-dir = C:/Some/Directory

-I../another/directory
-IC:/another/directory

Became

-Ic:/Some/Directory./another/directory
-IC:/SOME/DIRECTORY/C:/another/directory
2016-10-17 20:11:49 +02:00
Shanavas M
5d8f7bd7c6 Add missing prefices for js2-mode 2016-10-17 20:08:08 +02:00
Aaron Jensen
96022308d1 elixir: flycheck on idle
`flycheck-mix` now uses `flycheck-buffer-saved-p` so it is safe to
flycheck on idle: https://github.com/tomekowal/flycheck-mix/pull/2
2016-10-17 20:07:23 +02:00
JAremko
fa93c84cab Describe scss-lint setup 2016-10-17 20:05:16 +02:00
Tu Do
866d95baaf Common Lisp: enable fuzzy matching with comapny 2016-10-17 19:51:06 +02:00
carbohydratesn
ca5ea34196 Completed instructions for a quick start with boot
Moved to develop branch, original pull request -

https://github.com/syl20bnr/spacemacs/pull/7003

As an absolute beginner, this took a while to figure out, and eventually required reading through Cider's source files.

Currently, there must be a build.boot file present - an empty one works - if you want to start a repl through cider with boot.

https://github.com/clojure-emacs/cider/issues/1835
2016-10-17 19:46:45 +02:00
Eivind Fonn
b54b61e926 CSS-mode derives from prog-mode in Emacs 25 2016-10-17 14:38:50 +02:00
bmag
699e78f38a python: really start REPL also in emacs 25.1
Make `python-start-or-switch-repl` start a REPL when necessery also in
Emacs 25.1. Previously in Emacs 25.1 it wouldn't do anything if the REPL
wasn't started already.
2016-10-17 14:12:46 +02:00
Zhang Chen
eec4f00147 axes.color_cycle is deprecated
It comes from an offical "UserWarning": axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter
2016-10-17 14:04:19 +02:00
Eivind Fonn
f2acb02a92 Fix whoopsie from previous commit 2016-10-17 14:01:36 +02:00
Eivind Fonn
48dc7776ae Some nim layer fixes
- Define nimscript backend list
- Use jump handlers API
2016-10-17 14:00:15 +02:00
Tu Do
763d6f5555 Improve Nim layer
- Add support for better completion using Nim's IDE tool, `nimsuggest`.
- Add key binding for goto definition and jump back.
- Eldoc integration (with the nimsuggest-mode)
- Update documentation.
2016-10-17 13:58:12 +02:00
Rudi Grinberg
889b68110c OCaml layer: add ignored extension
Add cmti extension to list of ignored completion exts
2016-10-17 13:55:17 +02:00
Corin
73ff3de8d2 Fix typo
feature -> features
2016-10-17 13:47:49 +02:00
Diego Alvarez
2279c2c80e scala - update scalastyle-flycheck instructions 2016-10-17 13:41:19 +02:00
Jim Deville
194113a6eb update docs with go-guru info 2016-10-17 13:36:40 +02:00