Commit Graph

100 Commits

Author SHA1 Message Date
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Anton-Latukha ba074bc908 layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00
JAremko 77c680160e Add placeholder tags 2019-05-05 20:40:47 +03: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
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
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
Jam Risser 89047e4707 Fixed typescript/jump-to-type-def when npm module 2019-01-20 17:22:04 +02:00
Justin f8bb6997a9 Remove lsp-javascript-typescript package for lsp built in.
Remove lsp-go package for lsp built in.
Changed go/react/typescript lsp-*-enable hooks to lsp
Update go/typescript/rust layer docs for lsp-mode installation command.
Remove unused rust layer variable
2019-01-15 00:41:30 +02:00
Aaron Jensen c9eacd1f7e typescript: Fix jump handlers in tsx 2019-01-15 00:32:46 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
Aaron Jensen d52883fc56 typescript: Fix jump handling with multiple backends
Because the setup functions run after local vars are set, setting jump handlers
needs to happen directly. Otherwise setting them only applies to the next
typescript file that is opened, which may or may not even have the same backend.

Also prevents lsp jump handlers from being installed unless the backend is lsp.
2018-11-20 11:34:24 +00:00
Stéphane Bisinger 8db682fc6d
Fix the rename file and organize import key binding for typescript 2018-10-16 09:19:24 +03:00
emacspace cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
Stéphane Bisinger c68c526fd6
Add keybings to rename the file and organize imports in typescript 2018-10-13 19:24:32 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Matt Kramer b4eeda6cb6 Add 'prettier to error msg of spacemacs/typescript-format 2018-09-10 22:28:03 +01:00
Seong Yong-ju 2c21d5098a Add prettier layer
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
Ting Zhou cffd90080b only use javascript-typescript-langserver for javascript, react, typescript
layer, and purge other langservers
2018-08-03 01:37:36 +03:00
Roy Choo 43f0b4d617 typescript: remap keybinding to use tide function
- As described in #10870, typescript/jump-to-type-def function is removed,
but the keybinding is still calling it.

- Mapping the keybind to call tide jump to definition directly.
2018-07-11 00:20:07 +03:00
Daniel Perez Alvarez 5328e20cb8 add missing keybinding documentation for typescript layer 2018-07-04 00:57:33 +03:00
Daniel Perez Alvarez ce1d1a19c4 change En -> Ed 2018-07-04 00:53:38 +03:00
Daniel Perez Alvarez 75e192c897 [typescript] En -> tide-add-tslint-disable-next-line 2018-07-04 00:53:38 +03:00
syl20bnr 19b478efbd Lazy load flycheck 2018-06-11 02:14:12 -04:00
syl20bnr 49b1659a18 Lazy load lsp-mode 2018-06-11 00:28:11 -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
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 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 9123ffc986 typescript: fix backend name in typescript-setup-eldoc 2018-05-13 09:20:39 -04:00
syl20bnr 1a0e5e34e3 javascript: add safe values for javascript backend 2018-05-13 02:14:09 -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 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 5c14486b62 Fix: remove buggy hooks in javascript and typescript 2018-05-11 01:48:03 -04: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 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
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
Aaron Jensen 31dc961ef8 typescript: Fix eldoc hooks 2018-03-03 22:46:47 -05: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