Commit graph

456 commits

Author SHA1 Message Date
Tim Dysinger 5cc4e16f4d Adds company-ghci to haskell layer
You don't need ghc-mod to do code completion with ghc 7.10+. GHCI has built-in code-completion suggestions you can aske for.  This is what company-ghci does.
2016-05-01 11:30:58 -04:00
syl20bnr d94b17d57b go: use :toggle for flycheck-gometalinter package
Turn the maybe function into an always since the package
flycheck-gometalinter is installed only if gometalinter is found.
2016-04-29 22:58:23 -04:00
JAremko ae512ee8f1 Use gometalinter if present. 2016-04-29 22:52:05 -04:00
syl20bnr 354ca0b781 graphviz: use a use-package hook for org babel config 2016-04-29 22:47:03 -04:00
Christian E. Hopps 91942469b6 Enable graphviz mode in org babel blocks 2016-04-29 22:17:30 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
James 0d20c77798 spacemacs/layers/+lang/latex/README.org typo
Docs: Folding keybindings are enabled by `latex-enable-folding`
2016-04-29 18:12:55 -04:00
Robert O'Connor cd13e0f885 Make pug files use jade-mode since jade is now called pug 2016-04-29 18:08:14 -04:00
Fabien Dubosson a63bf2ab13 Add more information regarding tern on windows 2016-04-28 15:58:12 +02:00
Fabien Dubosson a03aff8fa1 Apply fill-paragraph after previous commit 2016-04-28 15:50:11 +02:00
Liang Zhou d2486e3956 Update tern configuration for windows. 2016-04-28 15:48:38 +02:00
NJBS 32466ca272 Update go README to include goimports prereq
see #5855
2016-04-28 15:40:26 +02:00
Fabien Dubosson ba7d050321 [autohotkey] reorder line alphabetically 2016-04-28 15:33:33 +02:00
krobelus 690d8eaed6 Fix autohotkey documentation 2016-04-28 15:32:08 +02:00
Jeremy Bi 2516703366 Enhance auto-completion support for Idris layer
Now auto-completion will ask Idris process for completions
2016-04-28 15:14:27 +02:00
Xiao Hanyu c93e47028c Set comment-inline-offset to 2 for python-mode.
Since python's PEP8 recommends two spaces for inline spaces.

Ref:
- https://www.python.org/dev/peps/pep-0008/#inline-comments
2016-04-21 22:26:18 -04:00
Christoph Paulik 643553a0fe Only disable semantic-idle-summary in python if anaconda-mode is used.
Some people have problems with anaconda mode and exclude it. This
enables them to at least have the semantic summary in their modeline.
2016-04-21 21:13:53 -04:00
Tu 34e669d49a Fix null error
char-after can return nil. For that reason, we check to ensure it does
not cause error.
2016-04-21 21:10:17 -04:00
Junhui 9d1b574554 Make pylookup.py compatible with Python 2 and 3 2016-04-21 21:08:31 -04:00
Severen Redwood 1fe5f4b6dd Fix broken keybindings in the Rust layer 2016-04-21 21:04:32 -04:00
syl20bnr a025dc8f52 clojure: move functions to funcs.el 2016-04-21 19:08:41 -04:00
sooheon e64c337b82 Remove obsolete clojure-defun-style-default-indent
clojure-defun-style-default-indent has been deprecated in favor of
clojure-indent-style. This is no longer a toggle but one of three
keywords. As it affects the way code is indented, and you should not
need to change your indentation style multiple times while editing, it
should not be a toggle. It's simple enough for the user to setq it to
desired value.

If desired, it may be added back as a completing-read selection (but I
don't think it's necessary).
2016-04-21 18:59:52 -04:00
syl20bnr dd8e845f6e clojure: add docstrings to functions 2016-04-21 18:59:28 -04:00
sooheon 39f424bd45 Fix cider tests error, and improve implementation
Error was caused by unnecessarily wrapping cider test fns in
spacemacs//cider-eval-in-repl-no-focus. Test fns do not move focus to
repl anyways, and it caused a wrong-type-argument error.

The added bindings are to more closely match cider bindings (under C-c
C-t). Now spacemacs cider test fns mirror the cider ones.
2016-04-21 18:56:45 -04:00
sooheon 02ee0f2e54 Setup normal state cider-debug for hybrid mode
Hybrid means vim-like in normal and emacs-like in insert. This is a
normal-state compatibility tweak (has no effect on insert-state
bindings), so it belongs.
2016-04-21 18:55:02 -04:00
Eivind Fonn 7f95d250db python: Move smartparens config to correct place 2016-04-18 15:56:16 +02:00
syl20bnr 9160109110 bibtex: format layer
Remove packages-config.el
Fix format of README
2016-04-17 00:37:47 -04:00
JP-Ellis 97aff9d8db Add BibTeX layer.
Integrates with org mode and LaTeX in order to manage citations.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-04-17 00:37:47 -04:00
Matt Jaffee f0f2034a53 support underscores in Go test functions
When trying to run a single test function with LEADER m t t in a Golang
test file, spacemacs failed to find functions which had underscores in
their names. This commit simply adds an underscore to the regular
expression which spacemacs uses when searching for the current test
function.
2016-04-17 00:37:47 -04:00
syl20bnr 47776e8999 python: move semantic config and fix error with semantic-idle-summary-mode
Move all semantic related config to semantic post-init and correctly
fix the error with void function semantic-idle-summary-mode when
opening a python without the semantic layer enabled.
2016-04-17 00:37:47 -04:00
Neal D. Becker 4ca8b55819 set semantic-idle-summary-mode on hook 2016-04-17 00:37:47 -04:00
Fabien Dubosson 0aafaecc4d Revert "Guard idris company setup on the auto-completion layer"
This reverts commit f2f23e6aa1 following
the comment of syl20bnr in
f2f23e6aa1
2016-04-13 11:25:51 +02:00
syl20bnr 07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Christoph Paulik a175de5b7a Use py-yapf from MELPA. 2016-04-12 22:58:41 -04:00
Eivind Fonn bcea630826 Make matlab quasi-derived from prog-mode
Also make this a named function.
2016-04-12 22:48:34 -04:00
syl20bnr 6c2665e0f7 python: move disable semantic hook to anaconda init function 2016-04-12 22:38:48 -04:00
Sebastian Wiesner bd4fe19d4d markdown: Add binding for live preview mode 2016-04-11 21:00:24 +02:00
Steven Allen dab234dbd9 Use toml-mode for all cargo configs
Specifically, `Cargo.lock` and `.cargo/config`.
2016-04-11 20:49:42 +02:00
Fabien Dubosson 39eebef067 [rust] Sort keybindings alphabetically 2016-04-11 20:45:47 +02:00
Dmitri Melnikov 8c6d154ffb Add key binding for cargo fmt 2016-04-11 20:43:03 +02:00
Junhui 95be4bce44 Fix 'makefile' for pylookup 2016-04-11 20:40:42 +02:00
Fabien Dubosson ddc831e061 [python] Correct whitespaces in packages.el 2016-04-11 20:38:01 +02:00
Christoph Paulik d38ce800bd Disable semantic-idle-summary in Python mode.
Anaconda provides more useful information but can not do it properly
when this mode is enabled since the minibuffer is cleared all the time.

Fix #5564
2016-04-11 20:35:40 +02:00
Fabien Dubosson 5f93dc364f [clojure] Fix loading of eldoc-mode 2016-04-11 20:30:47 +02:00
sooheon 4c543ee25c Remove depreciated cider-turn-on-eldoc-mode
Use more general 'eldoc-mode instead. Also enable eldoc-mode in the
repl as well.
2016-04-11 20:17:52 +02:00
Amar Sood (tekacs) 14b650e81e cider-turn-on-eldoc-mode is deprecated.
Use (eldoc-mode) instead.
2016-04-11 20:16:15 +02:00
Fabien Dubosson f2f23e6aa1 Guard idris company setup on the auto-completion layer 2016-04-11 10:58:21 +02:00
Fabien Dubosson 247d7cc5bd Add back idris REPL bindings on ,si and ,' 2016-04-11 10:58:14 +02:00
Jeremy Bi ec9c18b832 Improve idris support
Squashing the 3 commits of #5688:

Commit 1
--------

Add prefix doc in idris layer

Also remove `idris-ensure-process-and-repl-buffer` as this is not an
interactive command

Add `SPC m l` keybinding for extracting lemma

Bind `SPC m c` to `idris-case-dwim`

Commit 2
--------

Fix registering idris repl

Commit 3
--------

Add basic auto-completion for idris mode
2016-04-11 10:50:34 +02:00
syl20bnr fdf74897a3 javascript: remove variable javascript-disable-tern-missing-warning
Just log the warning in the message buffer.
2016-04-07 23:13:25 -04:00