syl20bnr
9951013bee
Lazy load eval-sexp-fu
2018-06-10 23:24:44 -04:00
Josh Santos
7944ed2634
Fix environment variable setting for go and rust layers
2018-06-09 01:22:56 -04:00
syl20bnr
b04cce06b2
go: defer loading of various packages
2018-06-09 01:11:41 -04:00
syl20bnr
9fc1883b4b
go: fix bad quoting of go-packages-function
2018-06-09 01:10:03 -04:00
syl20bnr
aedceddd92
go: cleanup layer sorting stuff and using idiomatic constructs
2018-06-09 01:09:11 -04:00
Cosmin Cojocar
d47f9267e9
go: add support for go-impl in refactoring menu
2018-06-09 01:04:23 -04:00
syl20bnr
f12b849993
go: sort packages.el and update README
2018-06-09 00:58:50 -04:00
Cosmin Cojocar
80dbae3825
go: add option in refactoring to fill a structure with default values
2018-06-09 00:51:33 -04:00
syl20bnr
ae53d9612e
go: update feature section with gopkgs
2018-06-09 00:49:07 -04:00
syl20bnr
0e0d5088b9
go: remove unused function load-gopath-file
2018-06-09 00:45:48 -04:00
syl20bnr
7951d763e3
go: reformat spacemacs/go-packages-gopkgs
...
Use setq instead of customize
Put spacemacs//go-set-tab-width in funcs.el
2018-06-09 00:43:52 -04:00
Cosmin Cojocar
938155c50a
Configure the go-packages-functions to use the gopkgs tool
...
This is a much faster option than the current native function.
2018-06-09 00:39:08 -04:00
syl20bnr
0fd13aef2b
go: change test generation key bindings according to conventions
2018-06-09 00:36:32 -04:00
Cosmin Cojocar
359960ae27
Add support to generate go tests with go-gen-test
2018-06-09 00:36:32 -04:00
syl20bnr
b282e553ba
Use dotspacemacs backward compatibility macro instead of aliases
2018-06-08 02:24:38 -04:00
Kalle Lindqvist
309b154d73
asm: add missing company package declaration
2018-06-07 17:36:46 -04:00
Kalle Lindqvist
b9f1228306
rust: add missing counsel-gtags package declaration
2018-06-07 17:36:46 -04:00
Kalle Lindqvist
961e448caa
rust: add missing smartparens package declaration
2018-06-07 17:36:46 -04:00
Kalle Lindqvist
4af9169d4b
scheme: add missing parinfer package declaration
2018-06-07 17:36:46 -04:00
Perry Fraser
fb855fec67
Add elixir format keybind ( #10812 )
...
* Add elixir format keybind
* fix formatting
* Move elixir-format keybind to init-elixir-mode
2018-06-07 00:07:28 -04:00
syl20bnr
834c39c2fd
Update promotion and demotion conventions and apply them to markdown
2018-06-06 01:15:48 -04:00
Kechao CAI
49b21c4c3c
markdown: fix M-h, M-j, M-k, M-l bindings.
...
These key bindings are very useful in emacs-editing mode and should not be
overwrited.
This fixes #10640 .
2018-06-06 00:51:20 -04:00
Miciah Masters
e0b751bee3
Avoid non-idempotent use of push in init code
...
Replace push with add-to-list in layer init functions and related code.
Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.
Replace a conditional push onto erc-packages with use of :toggle.
When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements. We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.
Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Codruț Constantin Gușoi
4a9d535786
Checks if tern exists before using it ( #10788 )
2018-06-04 02:19:15 -04:00
bmag
50621c93af
python: conditionally remove binding to obsolete keymap
...
Using a conditional instead of removing entirely since anaconda-mode code has
been in some flux recently. If the keymap stays obsolete when the dust settles
we can remove this block.
2018-06-03 20:19:19 +03:00
syl20bnr
a6542f8e7c
Activate nameless only in GUI
...
Nameless triggers lots of graphical glitches making Emacs unusable in a terminal
when it is enabled.
2018-06-03 01:49:07 -04:00
Aaron Jensen
95a40af341
Revert "Move yas-activate-extra-mode setup to javascript layer" ( #10746 )
...
This reverts commit e4eca01e82
.
2018-06-01 20:34:48 -04:00
syl20bnr
12a4d63b30
Fix counsel-gtags package name in common-lisp layer
...
Fixes #10591
2018-05-31 23:43:02 -04:00
p-sdk
4e3990ce52
ruby: add key bindings for ruby-send-{buffer,line}-and-go
2018-05-31 01:09:50 +03:00
Michael Rohleder
24ca355b6a
add org-babel support for some of the more popular languages. ( #10738 )
...
* add org-babel support for some of the more popular languages.
* alphabetical sorted package names.
* removed blank lines at EOF.
2018-05-30 09:07:21 -04:00
syl20bnr
c9e364721e
Fix formatting in javascript layer README.org
2018-05-24 01:44:28 -04:00
Miciah Dashiel Butler Masters
78297be625
Fix various typos
...
* Fix various isolated typos
"apppend" -> "append"
"availabe" -> "available"
"Descripti using ternon" -> "Description"
"you have not them" -> "you don't have them"
"new on" -> "new one"
"plained" -> "curved"
"repel" -> "REPL"
"vairable" -> "variable"
* Fix a few errors in the CoffeeScript layer readme
Add a missing "the".
Correct a reference to the layer as "javascript" to "coffeescript".
Fix the syntax on the link to CoffeeLint.
* Fix typos: "dofile" -> "dotfile"
* Fix typos: "formated" and "formating"
"formated" -> "formatted"
"formating" -> "formatting"
* hy: Fix docstrings in funcs.el
Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.
* Fix typos: "indendation" -> "indentation"
* Fix typos: "the the", "a a"
Fix duplicated (or misplaced) articles.
* Fix typos: "wether" -> "whether"
* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
syl20bnr
7d19ba1711
python: fix missing t with :call-hooks keyword
2018-05-23 22:11:10 -04:00
mangosmoothie
41d16b545b
updating regex to match single optional m character
2018-05-24 00:45:20 +03:00
Nathan Lloyd
e1a6e8be1c
add .mjs (ES6 module) extension to init-js2-mode
2018-05-24 00:43:41 +03:00
Codruț Constantin Gușoi
18c7241e2d
Removes unwanted whitespaces
2018-05-23 23:27:20 +03:00
Wojciech Wojtyniak
df4c3b96f1
Enable command history navigation in the cider REPL in an insert mode
...
This is the same navigation that is used in normal mode. This behavior matches
one from the elisp REPL.
2018-05-23 23:26:32 +03:00
Robby O'Connor
f7946542d2
[BREAKING CHANGE] delete extra-langs layer
...
This layer has long been deprecated and is due to be nuked.
2018-05-22 23:39:51 -04:00
syl20bnr
7be4e22d45
crystal: fix URL
2018-05-22 23:18:09 -04:00
syl20bnr
fe7cc15a8a
Add new layer for Crystal language
2018-05-21 03:14:46 -04:00
Brandon T. Willard
f069f9992d
Fix pyvenv pre-init defun and package names; adjust hy-mode prefixes.
2018-05-21 01:18:37 -04:00
syl20bnr
4a2e04a4ed
dump: require some emacs-lisp modes while dumping
...
auto-compile
elisp-slime-nav
nameless
2018-05-20 03:58:48 -04:00
syl20bnr
d14d58d990
hy: fix documentation format
2018-05-20 03:13:54 -04:00
syl20bnr
ea8991ac90
New layer Hy extracted from Python layer
2018-05-20 03:06:25 -04:00
syl20bnr
8267b501dd
web-beautify: rename spacemacs-web-beautify--modes
2018-05-20 00:41:17 -04:00
syl20bnr
9f6b45223f
python: put smartparens advice in a post-config use-package hook
2018-05-20 00:24:29 -04:00
Nikita Leshenko
b3743701db
python: smartparens: Fix bytecomp warning ( #10582 )
...
The byte compiler doesn't know about `smartparens-strict-mode' because
smartparens is lazy loaded, so wrap the variable reference in `bound-and-true-p'
to silence a warning that appears on Spacemacs startup.
To reproduce:
1. Install a fresh Spacemacs from develop branch
2. Use spacemacs-base distribution
3. Select only these configuration layers: spacemacs-editing python
4. Restart Emacs to install packages
5. Restart Emacs again and observe warning:
Warning (bytecomp): reference to free variable 'smartparens-strict-mode'
2018-05-20 00:22:44 -04:00
p-sdk
000e5022c9
ruby: add key binding for ruby-send-line
2018-05-20 00:01:29 -04:00
syl20bnr
b97ad90c92
web-beautify: fix definition of web-beautify key bindings
...
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
syl20bnr
4980a6461d
Fix another link in documentation...
2018-05-18 02:21:05 -04:00
syl20bnr
3976a341a0
Fix documentation link to web-beautify layer README
2018-05-18 02:04:45 -04:00
syl20bnr
542ada133d
New layer web-beautify extracted from javascript layer
...
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
syl20bnr
10ea3d3e13
html: move css functions to funcs.el
2018-05-18 01:25:29 -04:00
syl20bnr
e4eca01e82
Move yas-activate-extra-mode setup to javascript layer
2018-05-18 01:25:29 -04:00
Ting Zhou
8616f07b86
Add: use rjsx-mode for react framework
...
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
syl20bnr
abf3df4ad7
New layer tern extracted from javascript layer
2018-05-18 01:25:29 -04:00
Juuso Valkeejärvi
387a19530d
javascript: fix default value of tern-command variable
...
tern-command must be a list or adding switches to command doesn't work
2018-05-18 01:25:29 -04:00
Farva
6cda2dec61
Opt-out of company-rtags
while retaining rtags
...
if 'c-c++-enable-rtags-support' is 'no-completion', keep everything
enabled, but not completion ('company-rtags').
2018-05-18 01:05:52 +03:00
JI Xiang
7638d4cc40
Fix ipython-notebook layer instructions
...
Now `pip install jupyter` is needed instead of `pip install ipython[notebook]`.
Otherwise `ob-ipython` package will not work.
2018-05-18 01:01:09 +03:00
JAremko
d8b1f81fbb
Fix 404 URLs
2018-05-17 02:26:52 +03:00
JAremko
1c4a0451d9
Fix Ensime URL
2018-05-17 02:01:05 +03:00
Codruț Constantin Gușoi
04c9c66d39
Fixes newline problems after newlines header
2018-05-16 11:20:07 +03:00
kenkangxgwe
be0686a21e
Re-enable Wolfram-mode, since it is added back to Melpa.
2018-05-16 00:13:15 +03:00
Codruț Constantin Gușoi
4219842f98
Instead of removing auto-newline, control it via a variable
2018-05-15 23:54:20 +03:00
Fangrui Song
33192a05e2
Remove spacemacs//c-toggle-auto-newline
2018-05-15 23:51:50 +03:00
JAremko
dd46fcac78
Fix 404 links.
2018-05-15 16:19:01 +03:00
syl20bnr
7aca5aebd1
javascript: set default value of tern-command to "tern"
...
fixes #10673
2018-05-14 22:54:53 -04:00
syl20bnr
0fc3d921d2
json: fix hook error in post-inti-add-node-module-path
2018-05-14 20:52:22 -04:00
Jinseop Kim
e3c6772a49
perl5: Fix for leader key prefix name on CPerl mode
2018-05-15 00:54:20 +03:00
syl20bnr
e481894fcb
Create new json layer extracted from javascript layer
...
* add some goodies like `json-reformat` and `json-navigator`
* make the javascript layer dependent on the json layer
2018-05-14 00:49:13 -04:00
syl20bnr
ac4b2686b4
java: enable flycheck for meghanada backend only if possible
2018-05-13 22:39:17 -04:00
syl20bnr
9164407e99
javascript: remove references about coffeescript in README.org
2018-05-13 22:35:12 -04:00
syl20bnr
eeec23b226
coffeescript: fix doc. tests
2018-05-13 22:26:47 -04:00
syl20bnr
c3ebeb2ee4
coffeescript: add org-babel integration
2018-05-13 12:56:59 -04:00
syl20bnr
996cc91b5d
python: fix company when opening a buffer for the 1st time
...
fixes #https://github.com/syl20bnr/spacemacs/issues/10638
2018-05-13 12:39:52 -04:00
syl20bnr
e7c103b556
coffeescript: add jump handler
2018-05-13 10:28:39 -04:00
syl20bnr
ca07366f01
New layer coffeescript (extracted from javacript layer)
2018-05-13 10:19:48 -04:00
syl20bnr
9123ffc986
typescript: fix backend name in typescript-setup-eldoc
2018-05-13 09:20:39 -04:00
syl20bnr
17b8e9d75a
javascript: fix post-init-imenu func name
2018-05-13 09:16:04 -04:00
syl20bnr
1a0e5e34e3
javascript: add safe values for javascript backend
2018-05-13 02:14:09 -04:00
syl20bnr
7d6fd4ffd4
javascript: sort packages
2018-05-13 02:12:14 -04:00
syl20bnr
9820484716
javascript: fix multiple backends
...
* Use hack-local-variables-hook and remove usage of hooks in backends setup
functions.
* also move imenu configuration to post-init-imenu
* Remove the necessity of typescript server for javascript layer
* Remove the necessity of javascript and javascript-flow servers for typescript
layers
2018-05-13 01:31:00 -04:00
syl20bnr
5cdc1ed056
Sort packages alphabetically and add spacemacs function prefix
2018-05-12 23:59:50 -04:00
CeleritasCelery
6e684739cb
create debug layer
2018-05-12 23:46:18 -04:00
syl20bnr
1a5664e436
typescript: add safe values for typescript-backend variable
2018-05-12 02:51:42 -04:00
syl20bnr
f4223543e1
typescript: fix usage of hooks in multiple backends setup
...
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:46:51 -04:00
syl20bnr
0877f2f92a
typescript, java: use new :append-hooks and :call-hooks
...
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:33:52 -04:00
syl20bnr
883f57ee74
typescript: fix hooks to take into account directory variables
...
Also use spacemacs/add-hooks when applicable.
2018-05-12 02:33:10 -04:00
syl20bnr
14a5b8c21a
typescript: use spacemacs/add-to-hooks function
2018-05-12 00:23:10 -04:00
Andrea Moretti
3a516438cd
add smartparens mode
2018-05-12 00:23:10 -04:00
Andrea Moretti
8081d51560
typescript: avoid 0 char autocomplete
2018-05-12 00:10:36 -04:00
Ting Zhou
5a92c43951
Fix: use recipe for lsp-javascript-typescript
2018-05-11 23:28:15 -04:00
syl20bnr
f9968bf326
javascript: add default value for tern-command and remove toggle
...
Since now we support multiple backends, the toggle based on tern executable
seems not necessary anymore.
2018-05-11 13:28:16 -04:00
Ting Zhou
5c14486b62
Fix: remove buggy hooks in javascript and typescript
2018-05-11 01:48:03 -04:00
Codruț Constantin Gușoi
775fb50f9f
Fixes TOC formatting for python layer
2018-05-09 01:19:21 +03:00
syl20bnr
7596a156a4
Rename set-lsp-key-bindings and make it accept a list of modes
2018-05-08 00:17:56 -04:00
syl20bnr
ed80e41014
javascript: minor update of README.org
2018-05-08 00:10:48 -04:00
syl20bnr
522eafbd2b
typescript: update README.org for multiple backends
2018-05-08 00:10:13 -04:00
Ting Zhou
59e0c5683a
Add: lsp-typescript support
2018-05-07 23:47:24 -04:00
Philippe Bourdages
4ac8e4ec17
Fix Typescript key binding typo
2018-05-07 23:46:59 -04:00
Ting Zhou
aaa8c93d00
Docs: fix javascript doc
2018-05-07 23:32:47 -04:00
Ting Zhou
8df99c440b
Clean: move spacemacs//set-lsp-key-bindings to lsp layer
2018-05-07 23:32:47 -04:00
Ting Zhou
a7982de966
Clean: rename lsp prefix fix function names
2018-05-07 23:32:47 -04:00
Ting Zhou
64cd095d86
Fix: remove unnecessary comments
2018-05-07 23:32:47 -04:00
Ting Zhou
f3ee2edf1b
Add: add lsp-javascript backend for javascript layer
2018-05-07 23:32:47 -04:00
syl20bnr
fcd9d31bcb
groovy: add import for symbol key binding
2018-05-07 01:03:47 -04:00
JAremko
d4017b1ca7
Make sure that docs pass formatting cheques.
2018-04-15 22:16:17 +03:00
syl20bnr
ebe4c60264
Revert "Defer packages by default using use-package-always-defer"
...
This reverts commit 29c78ce841
and all other fixes
that have been made afterwards.
The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
cff0bb19bf
c-c++: replace toggle-auto-newline lambda by a named function
2018-03-03 22:59:55 -05:00
Aaron Jensen
6c1339debb
cc-mode: move c-toggle-auto-newline to hook
2018-03-03 22:50:00 -05:00
Aaron Jensen
31dc961ef8
typescript: Fix eldoc hooks
2018-03-03 22:46:47 -05:00
EMayej Bee
971719f55c
fix(java): typo
2018-03-04 10:28:12 +08:00
syl20bnr
baf154b0c3
typescript: isolate el-doc configuration
...
also ensure that eldoc-mode is called after tide-setup
2018-03-03 16:53:42 -05:00
Aaron Jensen
e1e4aeb5a4
typescript: Fix eldoc
...
eldoc cannot be enabled until after tide-setup is run.
2018-03-03 16:47:41 -05:00
syl20bnr
3731d0d3fc
Move major specific error key bindings to SPC m E prefix
...
Also add a convention for it.
2018-03-03 16:45:00 -05:00
Simon Altschuler
ed1cccd319
Rename typescript "rename" bindings to "refactor"
2018-03-03 16:30:13 -05:00
Simon Altschuler
93c24c3cc7
Add tide-fix binding to typescript layer
2018-03-03 16:30:09 -05:00
syl20bnr
29c78ce841
Defer packages by default using use-package-always-defer
...
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr
1e6a0a66c0
python: group backend packages
2018-02-27 23:32:52 -05:00
JAremko
6397abe2ff
Fix Java layer README
2018-02-28 04:58:24 +02:00
JAremko
7ce071b4be
Format documentation
2018-02-28 03:29:48 +02:00
syl20bnr
fd90547908
clojure: fix key bindings location in README.org
2018-02-25 12:44:25 -05:00
Dan Girshovich
a141c9adff
Add support for breakpoints for the trepan3k python debugger
2018-02-24 19:49:39 -05:00
syl20bnr
920a6f6075
python: sort key bindings
2018-02-24 19:49:39 -05:00
Jack Kamm
8f79abc7f3
python: add pipenv. unified prefix for pyenv, pyvenv, pipenv
2018-02-24 19:49:39 -05:00
Alejandro Arrufat
f93fb228ce
Feature: Add "send to buffer" leader key in ruby layer
...
Currently ruby-send-to-buffer function is not assigned to any key
it is useful to be able to send the the buffer directly to the ruby
console.
It assigns SPC-msb to ruby-send-to-buffer function
2018-02-24 19:49:39 -05:00
syl20bnr
e99ca55e13
python: add doc for SPC m t l
2018-02-24 19:49:39 -05:00
Benoit Coste
262c8ee7b0
Add defun spacemacs/python-test-last
...
It is a wrapper around the nosetests-again defun.
It will call the latest called nosetest function.
2018-02-24 19:49:39 -05:00
Aaron Jensen
6ec6af84d0
typescript: create derived mode for tsx
2018-02-24 19:49:39 -05:00
syl20bnr
a40b79a781
clojure: sort key bindings alphabetically
2018-02-24 19:49:39 -05:00
Luo Tianj
280c7b4cef
add key bindings for profiling and spec browsing
2018-02-24 19:49:38 -05:00
timor
671701f2ef
factor: rename snippet file
...
fixes #10360
2018-02-24 12:04:32 +02:00
syl20bnr
81a931f48b
python: add support for Language Server Protocol
2018-02-19 00:08:27 -05:00
timor
ba13869c99
Add features section
2018-02-17 16:09:06 -05:00
timor
f4a8d605e7
Clarify Snippet usage
2018-02-17 16:09:06 -05:00
timor
05623c4924
Don't add final semicolon to template
2018-02-17 16:09:06 -05:00
timor
2c4ac9b2f4
Add Layer for the Factor Programming Language
2018-02-17 16:09:06 -05:00
nijohando
d4ae5a3c2b
fix: Rename deprecated cider function
...
"cider-jump-to-resource" has been renamed "cider-find-resource" in
CIDER 0.9.0
2018-02-17 16:09:06 -05:00
Adam Frey
5da932541b
Fix typo in clojure/README
2018-02-17 16:09:06 -05:00
Alexander Dalshov
98758c6ede
CMake: move company-cmake initialization to cmake layer
2018-02-17 16:09:06 -05:00
smile13241324
0961850391
Fix doc for octave, sql and go layers
2018-02-17 17:30:27 +02:00
smile13241324
c4ec87dfeb
Fix doc for nginx, jr, nlinum and systemd layer
2018-02-06 10:24:16 +02:00
smile13241324
0e3a371390
Fix doc for graphviz, deft and finance layer
2018-02-04 06:21:44 +02:00
smile13241324
d85eb092d0
Fixed the next bunch of documents
...
Fix doc for coq, semantic-web, source-control, evil-commentary
and spotify layer.
2018-02-04 06:21:18 +02:00
Dieter Komendera
5f6f9d2333
clojure: Enable safe structural editing for cljs, cljx and cljc
...
clojurescript-mode, clojurec-mode and clojurex-mode are used for .cljs, .cljc
and cljx files respectively, which should always be balanced and thus have safe
structural editing enabled.
2018-01-29 00:15:32 -05:00
smile13241324
3586495ed6
Fix doc for django, scala, sml, floobits, puppet and evernote layer
2018-01-28 23:00:32 -05:00
Colin Woodbury
f187300491
haskell: Document SPC m r i
binding
2018-01-28 22:54:14 -05:00
Colin Woodbury
6826ab10a6
haskell: Add function for proper import reformatting
...
- It will succeed from anywhere in the source file, unlike the current
functions exposed by `haskell-mode` that exist for the same purpose.
2018-01-28 22:54:07 -05:00
Dave Aitken
bd77db5d84
ocaml: mention ocaml flycheck/merlin configuration in README
2018-01-28 22:51:26 -05:00
Dave Aitken
2be4dd2795
ocaml: enable flycheck-ocaml
2018-01-28 22:48:47 -05:00
JAremko
3eb6ae20ea
fix URL in scheme layer
2018-01-27 18:01:04 +02:00
smile13241324
5e13f3c373
Fix doc for tmux, c-c++, faust, node and docker layer
2018-01-27 16:58:38 +02:00
JAremko
d2c3b847d8
doc fmt
2018-01-27 16:57:39 +02:00
JAremko
0ae66fb111
add elixir tag to src blocks
2018-01-27 16:57:18 +02:00
syl20bnr
9d540f8a95
Fetch perl6-mode from GitHub
...
https://github.com/perl6/perl6-mode
2018-01-25 00:11:16 -05:00
syl20bnr
9f4d0961a5
ess: sort key bindings in documentation
2018-01-22 23:20:01 -05:00
Jack Kamm
048c92eaf4
ess: add updated keybindings to readme
2018-01-22 23:17:57 -05:00
David Balatero
2b3d83ccf6
Add gtags to enh-ruby-mode as well as ruby-mode
2018-01-22 23:14:40 -05:00
Alexander Dalshov
8bc08ade89
Decouple CMake support from C-C++ Layer
2018-01-22 22:48:09 -05:00
Rudi Grinberg
8f685035bf
enable flycheck for tuareg mode rather than merlin mode
...
merlin mode doesn't actually exist
2018-01-21 09:34:59 -05:00
Jack Kamm
446ff90fac
ess: revert REPL bindings to follow CONVENTIONS.org
2018-01-21 09:28:53 -05:00
Paul
5c2aa826a2
Fix typo
2018-01-21 09:27:20 -05:00
Martin Øinæs Myrseth
4ea177ce97
c-c++: Unquote google-set-c-style layer variables
...
The google-set-c-style functions are added to `c-mode-common-hook`
regardless of their value.
Fix #10080
2018-01-19 22:56:21 -05:00
ZarsBranchkin
f48f75e23f
Add nim-mode documentation binding
2018-01-19 22:55:02 -05:00
smile13241324
8943f856ed
Fix doc for chinese, transmission, d, command-log and idris layer
2018-01-19 19:41:40 +01:00
syl20bnr
93913ebce1
sql: move function to funcs.el
2018-01-18 01:08:46 -05:00
Andrew Christianson
04910be2e2
Rebuild spacemacs-sql-startable after running sql-add-product
...
For completeness, also advise `sql-del-product`
2018-01-18 01:07:15 -05:00
Paul
03f79d0aa6
ruby: add ruby-hash-syntax
...
Add a command to toggle between old and new hash syntax in the active region.
2018-01-18 00:15:16 -05:00
Jeremy Bi
53b2c8851c
Enable idris-simple-indent
2018-01-17 23:36:01 -05:00
Shitikanth Kashyap
6e0d38f3ea
pylookup: Clear self.tag on endtag
2018-01-17 23:23:59 -05:00
Shitikanth Kashyap
480c8531b3
pylookup: Add "/genindex/" to potential_urls
...
Used in online documentation of libraries Flask and Requests.
http://flask.pocoo.org/docs/0.12/genindex/
docs.python-requests.org/en/master/genindex/
2018-01-17 23:23:47 -05:00
Shitikanth Kashyap
23e582d121
pylookup: Switch to using urllib2 on Python 2
...
Fixes bug: pylookup fails silently on 404. For instance, on
`./pylookup -u https://matplotlib.org/ ` it first looks up
'https://matplotlib.org/genindex-all.html ', gets a 404 response,
but instead of moving to the next candidate url, it builds an empty
index.
Cause of bug: urllib.urlopen doesn't give an error on 404.
2018-01-17 23:23:25 -05:00
Shitikanth Kashyap
48032ca787
pylookup: Use generic tags to detect list levels.
...
This fixes bug #9866 .
Tested to work with documentation of Python 2.6, Python 2.7, Python 3.4,
Python 3.5, Python 3.6, and latest stable releases for SciPy, NumPy,
Matplotlib, and Flask.
2018-01-17 23:23:14 -05:00
Shitikanth Kashyap
a3d8df9244
pylookup: Set one_entry to false after each element
...
Fix for bug: extraneous links registered for last entry
in index. For instance, for python documentation index,
all links in footer would get attached to `zlib`.
2018-01-17 23:23:04 -05:00
Shitikanth Kashyap
01e588c5f0
pylookup: Remove unused field do_entry
2018-01-17 23:22:52 -05:00
Shitikanth Kashyap
86f7213b65
pylookup: Handle end tag logic in handle_endtag
...
Doing it handle_data was a bug because `self.tag`
would contain the most recent opened tag, not the tag
currently being closed. This meant, for instance, that
the elements were not being generated correctly and
"./pylook.py --cache" was broken.
2018-01-17 23:22:39 -05:00
Shitikanth Kashyap
dbe5bb4893
pylookup: Use HTMLParser instead of htmllib
...
htmllib has been deprecated since PEP 3108.
2018-01-17 23:22:19 -05:00
j
7dbf354b15
html layer: use web-mode for .xml
files
2018-01-17 23:19:43 -05:00
syl20bnr
af625a9499
rust: revert SPC m c c and move cargo-process-check to SPC m c v
...
SPC m c c is a convention.
2018-01-17 23:17:50 -05:00
Victor Polevoy
960b85157c
Add shortcut for the cargo check
command #9943
...
1. Adds a shortcut for the `cargo check` command as "cc".
2. Remaps a shortcut for `cargo build` command from "cc" to "cb".
Fixes #9943
2018-01-17 23:16:44 -05:00
syl20bnr
2c16d19ab7
semantic: make it possible to exclude stickyfunc
2018-01-17 23:03:33 -05:00
Raymond Wanyoike
a6e513745f
Update javascript layer README: node-add-modules-path
...
Related to #9047
2018-01-17 23:03:33 -05:00
Levi Roth
5857e853ad
Fix OPAM share directory in OCaml layer
...
This commit uses process-lines instead of shell-command-to-string, as
seen in ocaml/merlin#547 .
This fixes an issue on Windows where the external command fails,
resulting in a broken load-path.
2018-01-17 22:19:10 -05:00
smile13241324
b414d615a5
Fix doc for erlang, gpu, ess and vim-empty-lines layer
2018-01-14 22:58:00 -05:00
syl20bnr
a69501e327
c-c++: remove automatic install of gtags layer
...
Instead we let the users to explicitly add the gtags layer if they want to
combine rtags and gtags.
2018-01-12 00:45:03 -05:00
Codruț Constantin Gușoi
a228c2cf61
Potential fix for rtags error
2018-01-12 00:38:29 -05:00
smile13241324
1fb4e0f23d
Fix doc for common-lisp, bibtex, cfengine and gnus layer
2018-01-12 00:37:15 -05:00
Codruț Constantin Gușoi
53288bf357
Disable nameless by default
2018-01-12 00:35:37 -05:00
Lixin Chin
34a0eb2463
rtags: only activate rtags keybindings when rtags-mode is active
...
The keybindings to `rtags-select-other-window', `rtags-select' and
`rtags-bury-or-delete' should only take effect when `rtags-mode-map' is
active, instead of being activate for every buffer in evil normal state.
2018-01-11 00:16:08 -05:00
syl20bnr
dbf1deaa4c
c-c++: make it depends on gtags layer only if rtags are enabled
2018-01-11 00:02:02 -05:00
syl20bnr
41e546f040
Move all use-package hook declaration to pre-init functions
...
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
syl20bnr
3cb9fea0ff
Reset useful and useless buffers to empty lists
...
I feel like we should start from scratch on this one and carefully choose the
defaults.
Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
seemyvest
6da75c4055
Rust: Fix cargo-process-current-test keybinding, update documentation
2018-01-09 23:58:07 -05:00
Pierre Radermecker
59f78d8700
Update hindent config in haskell layer
...
Hindent styling is a deprecated feature (with no more effect).
Use a simple bool toggle to activate it.
Update README
2018-01-09 23:55:49 -05:00
Richard Kim
b57789176c
fix cut-and-paste error by using correct function name
...
Use google-make-newline-indent rather than google-set-c-style.
2018-01-09 23:44:43 -05:00
Muneeb Shaikh
443c6bd80d
sml: lazy load sml lang for org-babel
...
Fix #9979
2018-01-09 23:43:42 -05:00
Benno Fünfstück
9db765a25e
major-modes: comment out removed wolfram-mode package
2018-01-09 23:41:15 -05:00
syl20bnr
da1331870a
csharp: sort key bindings
2018-01-09 23:26:08 -05:00
Saulius Menkevičius
ba0cebec88
csharp: add keybinding for omnisharp-solution-errors
2018-01-09 23:25:24 -05:00
Piotr Grzesik
dea1e9b468
Add section about configuring indentation via javascript layer configuration
2018-01-09 23:19:57 -05:00
Diego Berrocal
f8ecf0cb1b
Add null-check for filename before calling file-name-extension func
2018-01-08 02:11:19 -05:00
smile13241324
51cfa948b1
Fix doc for nim, fsharp, forth, dash and fasd layer
2018-01-08 01:45:09 -05:00
syl20bnr
099872a61a
c-c++: fix wrong-type-argument keymapp "q" when rtags support is on
2018-01-08 01:26:28 -05:00
syl20bnr
46c5dfa4a7
cl-loop instead of loop
2018-01-06 21:38:13 -05:00
Robbert van der Helm
080eaa1283
Add counsel-css as an ivy alternative to helm-css-scss
...
This also adds imenu support to CSS and Sass when using ivy.
2018-01-06 21:21:54 -05:00
syl20bnr
d9e5652ae7
emacs-lisp: enable nameless by default
2018-01-06 02:51:46 -05:00
syl20bnr
6932a337ee
c-c++: refactor rtags support, key bindings, attempt ggtags fallback
...
- Move rtags key bindings under `SPC m g` prefix
- Document rtags support and key bindings in README.org
- attempt to implement gtags fallback using
https://github.com/Andersbakken/rtags#fall-back-to-other-taggers
- make c-c++ layer dependend on gtags layer (gtags layer is automatically
installed when the c-c++ layer is used)
- sort packages config in packages.el
- use a dolist instead of a function to define rtags key bindings
2018-01-06 02:44:33 -05:00
Alexander Dalshov
7a74ae105a
c-c++ rtags: integration with evil
2018-01-06 01:30:59 -05:00
Alexander Dalshov
bdcdc66c54
c-c++: add rtags integration
2018-01-06 01:30:59 -05:00
syl20bnr
51fb39aac8
c/c++: use clang-format-buffer and clang-format-region functions
2018-01-06 01:29:45 -05:00
Silver Chan
24e556941b
fix problem: c-c++ layer variable
...
fix problem: c-c++ layer variable:clang-format-region-on-save invalid
2018-01-06 01:29:10 -05:00
Dela Anthonio
1d7198e3a7
c-c++: Fix clang format on save
...
Resolve #10041
The spacemacs/clang-format-buffer function doesn't exist. It should be replaced
with clang-format-buffer. This error was introduced in 01ddc98cef
.
2018-01-06 01:01:29 -05:00
Hans Jang
d35268a1d6
Fix the broken python repl invocation through SPC a '
...
Without this chage, it ends up with the following error:
'Wrong type argument: commandp, python-start-or-switch-repl'
2018-01-06 00:59:29 -05:00
Jaakko Luttinen
76003c1a7d
Add ipython-notebook insert mode bindings also to hybrid mode
2018-01-05 23:15:43 -05:00
syl20bnr
c3e65f53e7
elixir: remove unecessary org config for org babel
...
The config is in ob-elixir
2018-01-05 22:27:43 -05:00
syl20bnr
8bb225b402
ipython-notebook: update org config to be more idiomatic
2018-01-05 22:27:13 -05:00
Alejandro Catalina
c233bb6336
Add ob-ipython to ipython-notebook layer
2018-01-05 22:20:29 -05:00
syl20bnr
eee2b4b89c
python: document pippel and set key binding to SPC m P
2018-01-05 22:15:50 -05:00
James Wang
0a4f257da0
Add pippel for python package management
2018-01-05 21:54:41 -05:00
Christoph Paulik
17d350b585
Python: Fix pyenv-executable-find in presence of pyenv-which-ext.
2018-01-05 21:48:04 -05:00
Shane Pearlman
2f2ed06b0e
Use python-mode for SCons script files
2018-01-05 21:46:52 -05:00
syl20bnr
302d272ae3
python: sort key bindings in doc and package config
2018-01-05 21:45:57 -05:00
Volodymyr Vitvitskyi
b63039a6a4
Support importmagic in the Python layer
...
Problem
-------
If the symbol is not resolved due to a missing import there is no automatic way
in the Python layer to import it.
Solution
--------
Use 'importmagic' package.
Pressing `SPC m r f` at point that requires an import will suggest a list of
possible options.
2018-01-05 21:44:11 -05:00
syl20bnr
6a345b86a0
python: document python-save-before-test
2018-01-05 21:41:26 -05:00
Benoit Coste
3f01fd5fed
Add defvar python-save-before-test
...
If true, buffer is automatically saved when calling
python-test-* functions
2018-01-05 21:38:28 -05:00
lostmarble
572820e618
Update funcs.el
...
fix python/:init: Invalid version syntax: '5.1.0^M' bug, for "ipython --version" will return '5.1.0\r\n' on windows with Anaconda3
2018-01-05 21:37:08 -05:00
Muneeb Shaikh
ef36bdfb06
python: update anaconda-mode view mode variable names
...
Fix #10047
2018-01-05 21:37:03 -05:00
Muneeb Shaikh
3289e0d114
python: update invalid cython mode keybindings
2018-01-05 21:35:58 -05:00
syl20bnr
3b24f451f8
emacs-lisp: add dotspacemacs alias for nameless
2018-01-04 02:13:22 -05:00
syl20bnr
326965d4ce
Happy New Year 2018!
2018-01-04 02:00:25 -05:00
syl20bnr
5700fc5b0a
Fix typos in doc for safe structural editing
2018-01-04 01:55:54 -05:00
syl20bnr
2cb98447af
Move evil-cleverparens to spacemacs-evil with major mode toggle
...
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.
The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.
This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr
8bc9060af8
javascript: change key binding for repl live eval toggle
...
To respect convention move the key binding under `SPC m T l` and change
the lighter to a plain squared `l`.
2018-01-04 01:40:52 -05:00
syl20bnr
6265c057bf
emacs-lisp: change nameless key binding to respect conventions
...
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.
Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
Josh Santos
a18eab6026
Add Troubleshooting section
2018-01-04 01:40:52 -05:00
JAremko
c47d88a098
Format docs
2017-12-31 02:41:22 +02:00
Guido Kraemer
502a62a640
start julia repl with spacemacs/ess-start-repl
2017-12-23 17:46:02 +02:00
bmag
88a952fb33
ess: declare prefixes in loop
2017-12-23 17:46:02 +02:00
Guido Kraemer
99d575b9c8
fix julia keybindings and nice prefixes
2017-12-23 17:36:31 +02:00
Fredrik Bergstrand
5ec172d7bd
c-c++: Improve the header include auto completion
...
This change makes the c-c++ layer configure company-c-headers to search for and
list completion alternatives according to the priority list found in 'man gcc'.
If supported, the default system include paths are also fetched from gcc's
configuration instead of being hard coded to "/usr/include" and
"/usr/local/include". This also remedies the problem where the C++ standard
library headers does not show up as completion alternatives without manual
addition of include paths (see #4493 , #8655 ).
2017-12-19 00:31:43 -05:00
Dela Anthonio
01ddc98cef
c-c++: Add clang-format functions and key bindings
...
Solve part of #7628 . Additionally, #7629 is no longer needed.
Add support for formatting lines, functions, and buffers with clang-format. Each
function produces a clear message on success.
The README was updated to reflect the usage of the new key bindings. References
to binding clang-format to the tab key were removed.
2017-12-19 00:25:20 -05:00
Evan Klitzke
77ee302f16
enable c++11 mode in company-clang-arguments if c-c++-enable-c++11 is not nil
2017-12-19 00:23:43 -05:00
Evan Klitzke
16fd3e85a4
add an option to use google-c-style
2017-12-19 00:20:00 -05:00
Alexander Dalshov
24827b6f08
c-c++ add option to control cmake-ide package
2017-12-18 23:51:28 -05:00
Richard Kim
7bab83c09e
fixed a typo by moving one closing parenthesis
2017-12-18 23:49:13 -05:00
syl20bnr
2ed3946d7b
emacs-lisp: improve nameless configuration
...
- Change nameless prefix to > instead of default :
- Change toggle to SPC m >
- Set nameless separator to nil in order to make it work with any type or separator
- Add diminish unicode ⧁
- Define some default global aliases for Spacemacs source code
- Rename layer variable emacs-lisp-nameless-mode to emacs-lisp-hide-namespace-prefix
- Make variable nameless-current-name safe as a local variable for string values
- Set nameless prefix for core-configuration-layer.el
2017-12-17 23:30:24 -05:00
AdrieanKhisbe
71f8919ebf
fix typo and use a layer variable for auto nameless-mode
2017-12-17 22:17:05 -05:00
Adriean Khisbe
48b0484348
add documentation for Nameless and Overseer bindings
2017-12-17 22:16:49 -05:00
Adriean Khisbe
3dc09cfc4d
hide automatic nameless behind a nameless-auto-mode switch
2017-12-17 22:16:32 -05:00
AdrieanKhisbe
2d40793804
setup nameless package (replacing package prefix with :)
2017-12-17 22:16:08 -05:00