Commit graph

1339 commits

Author SHA1 Message Date
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