Commit Graph

205 Commits

Author SHA1 Message Date
135ebd925f Enable global-eldoc-mode; less work for me! 2018-04-23 00:34:03 -04:00
15c735a053 lang/javascript: fix :company-backend typo 2018-04-23 00:28:32 -04:00
855ad2c0f1 lang/javascript: refactor company/lookup config; bring back xref-js2 2018-04-22 23:57:32 -04:00
581e1fc56c lang/javascript: add autoload for skewer-repl 2018-04-20 02:47:02 -04:00
a9d70f808c lang/javascript: use eslint_d for syntax checking in eslintd-fix-mode 2018-04-20 02:47:02 -04:00
595d6215d2 lang/javascript: general refactor
+ No need for some rjsx-mode hooks, when it is derived from js2-mode
  (thus, js2-mode hooks will run in rjsx-mode).
+ Reorganized package configs with major modes at the top.
+ Fix incorrect usage of add-hook! with three arguments for rjsx-mode.
2018-04-20 02:47:02 -04:00
c08f6b25d9 lang/javascript: use correct hooks for jsx-mode #540 2018-04-19 04:01:50 -04:00
da7975feff lang/javascript: fix +javascript/refactor-menu 2018-04-19 03:59:58 -04:00
eef89da872 lang/javascript: remove xref-js2 (superceded by tide) 2018-04-19 03:57:11 -04:00
71192bf09a lang/javascript: start tide in rjsx-mode buffers #540 2018-04-19 03:45:08 -04:00
718511b5e6 remove mention of tern in comment 2018-04-19 09:33:47 +03:00
9e45ad670c lang/javascript: add autoloaded cleanup & project-root functions
Forgot to add this to 605c897d
2018-04-19 01:14:01 -04:00
605c897d96 lang/javascript: doom-project-root support & clean up processes for tide 2018-04-19 00:51:51 -04:00
185f47d2aa lang/javascript: disable tide-hl-identifier-mode by default 2018-04-19 00:51:12 -04:00
c156551dd1 lang/javascript: minor reformatting/comment revision 2018-04-19 00:50:54 -04:00
8625cb03b0 lang/javascript: remove vestigial eslint_d support 2018-04-19 00:50:35 -04:00
2f43fc743e lang/javascript: alphabetize packages.el 2018-04-18 18:45:00 -04:00
279e523d6f lang/javascript: add typescript-mode package 2018-04-18 18:44:24 -04:00
e54c938023 Merge lang/typescript into lang/javascript 2018-04-18 18:17:17 -04:00
c4396226dd lang/javascript: remove eslint_d detection
This is now left to the user's private config.
2018-04-18 18:08:52 -04:00
07bd70ff7f lang/javascript: remove mention of tern in README 2018-04-18 18:05:44 -04:00
a1402ff68a lang/javascript: remove company-tide package (doesn't exist) 2018-04-18 18:05:09 -04:00
cc5bfc6dc0 lang/javascript: conform to naming conventions; refactor tide config 2018-04-18 18:04:49 -04:00
8af94e8731 [*] Removes tern in favor of tide, adds node modules to path to execute things like flow, prettier, etc 2018-04-18 17:26:50 +00:00
726dea9880 lang/javascript: leave ecma strict warnings to flycheck 2018-03-06 18:38:35 -05:00
dc8fd12448 lang/javascript: remove highlight-indentation-mode
This mode, paired with js2-mode's constant parsing, cause unacceptable
slowdowns so I've disabled it by default.
2018-03-06 16:19:54 -05:00
6c4e048c23 General refactor & cleanup 2018-02-14 07:47:22 -05:00
c6199800e4 lang/javascript: fix localleader bindings breaking SPC in emacs mode 2018-02-12 01:43:26 -05:00
422c6d9c12 lang/javascript: js-chain-indent = t 2018-02-09 23:24:37 -05:00
31a4244686 Rethink what Doom loads at startup and manually
Better to simply load what we need, when we need it, rather than set up
autoloads for every litte thing.
2018-01-07 00:15:57 -05:00
42cee2e046 Update :jump => :lookup 2018-01-05 23:57:48 -05:00
1371d34149 💥 Replace feature/jump with feature/lookup
+ Adds Dash docset integration (with helm or ivy support)
+ Adds devdocs.io integration
+ Three new settings: :lookup, :devdocs and :docset
2018-01-04 17:11:54 -05:00
b8a969361d lang/javascript: remove extra parentheses causing nonvariable error 2017-12-17 00:03:45 -05:00
76a4ae459d Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
f063a08891 Remove :editorconfig setting 2017-12-08 23:14:11 -05:00
9d81bc5a8b Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
3b9bf9bb44 Fix 'variable reference to nil’ compiler warning 2017-10-05 13:14:25 +02:00
028fd43d75 lang/javascript: major refactor
+ Adds ./node_modules/.bin to exec-path
+ Uses eslint_d globally, if available
+ Always favor local installs of eslint over global eslint or eslint_d

Relevant to #214 #185
2017-10-04 18:02:00 +02:00
e5bd1fe55e Merge pull request #214 from orther/javascript-eslintd-fix
Add project-mode +javascript-eslintd-fix-mode
2017-10-04 15:50:27 +02:00
5c340f0218 Remove redundant +javascript/refactor-menu 2017-10-03 20:46:19 +02:00
3b36f52db4 lang/javascript: add +javascript/refactor-menu 2017-10-03 03:00:34 +02:00
ed76cfda99 General lang refactor; new refactor, help, build & test menus 2017-10-03 02:58:09 +02:00
d0fcb23314 Replace feature/eval build system with def-menu! 2017-10-03 02:58:09 +02:00
ad29a2253f Remove accidentally added parts to javascript module 2017-09-30 02:23:03 -07:00
dd97e10aa0 Remove flycheck js2 errors if eslint available.
Flycheck has it's own trailing command and semicolon warning that was
conflicting with the eslint settings. Now it disables those warnings if
eslint.js is setup for flycheck.
2017-09-30 02:20:25 -07:00
3938a58bbb Add project-mode +javascript-eslintd-fix-mode
This adds code formating on save using eslint --fix functionality. It uses the
emacs package eslintd-fix which uses the npm package eslint_d.js.
2017-09-28 01:55:47 -07:00
58198acf18 Refactor magic-mode-alist entries for rjsx-mode, c++-mode & objc-mode 2017-09-20 01:34:47 +02:00
3fcbdae441 Make doom-project-{p,root} functions simpler
+ doom-project-root and doom-project-p no longer takes arguments
+ Remove doom*project-root advice
2017-09-20 01:33:31 +02:00
d28c64b4fa General refactor & cleanup 2017-09-02 16:39:51 +02:00
4ff80cf416 Add READMEs for several modules 2017-08-21 21:51:29 +02:00