Commit Graph

1093 Commits

Author SHA1 Message Date
cfebed96db lang/cc: cull unnecessary def-package! blocks
rtags loads these packages for us, so long as
rtags-display-result-backend is properly set.
2018-08-02 03:47:29 +02:00
a18541851e lang/python/doctor: check pyenv, conda & ipython 2018-08-02 00:13:00 +02:00
9b11f8e76d lang/python: remove +python-conda-env (unused) 2018-08-01 22:32:29 +02:00
7ffa3c8d8d lang/python: register ANACONDA_HOME envvar 2018-08-01 22:30:30 +02:00
e053234992 lang/python: fix anaconda ignoring conda envs 2018-08-01 22:29:51 +02:00
a876d87f5e emmet-mode: bind to TAB & enable in reason-mode
TAB now either indents, expands the snippet at point, or expands the
emmet expression at point.

Also it now falls back to emmet-expand-line if yasnippet won't load.
2018-08-01 19:25:06 +02:00
8bbff852f7 lang/php: fix stringp error & phpctags path
Also provide a way to silence phpctags warnings on starting
php-mode (set ac-php-ctags-executable to nil).
2018-08-01 18:15:30 +02:00
06aa16bbfb lang/ruby: keep mode-line indicator up-to-date 2018-08-01 15:18:58 +02:00
ad68f26477 Fix python mode-line persisting into other modes
And more polish for the python mode-line indicator.
2018-08-01 15:17:57 +02:00
65f0dcef54 lang/python: remove references to removed variable 2018-08-01 01:31:12 +02:00
90d0f334f8 lang/python: rewrite mode-line indicator (again) 2018-08-01 01:13:49 +02:00
9cf5907c48 lang/python: update modeline on version change 2018-07-31 23:21:13 +02:00
991199ee78 Fix PYENV -> PYENV_ROOT envvar typo 2018-07-31 23:16:18 +02:00
b4c8584f64 lang/python: rewrite version mode-line segment 2018-07-31 23:07:22 +02:00
d9a52e1094 Fix company/lookup settings in anaconda-mode
Applying them to python-mode means it would happen too late.
2018-07-31 19:20:58 +02:00
3948255445 lang/ruby: rewrite rbenv support; add rvm support 2018-07-31 15:51:25 +02:00
560d16d651 lang/python: add support for more env managers
+ Rewritten +conda support
+ Adds +pyenv and +pyvenv flags with support.
+ New +ipython flag to enable ipython REPL support
+ Added pipenv support. This is the new default, instead of pyenv, and
  isn't hidden behind a module flag because it is officially endorsed by
  python.

Addresses #736
2018-07-31 15:51:25 +02:00
85af18a04d lang/emacs-lisp/+symbols: reformat & update
Removed some special forms (provide, require, and defalias)
2018-07-31 03:53:14 +02:00
9f074a1aa3 Add option to enable extra elisp fontification 2018-07-31 03:48:45 +02:00
45e1b371e6 Add after-load-alist to elisp variables 2018-07-30 23:04:27 +02:00
b846a40af4 Remove unused letvar, spec 2018-07-30 23:03:34 +02:00
a820bbd468 lang/common-lisp: fix sly version mismatch prompts
Caused by the perfect storm of Emacs, Doom and Sly decision choices,
this prevents the mismatched sly version prompts each time you start up
sly/lisp-mode.
2018-07-30 23:02:06 +02:00
78d14b0439 Add after-delete-frame-functions to elisp variables 2018-07-30 13:19:15 +02:00
cbc59f9333 Appease the byte-compiler 2018-07-30 12:10:11 +02:00
c935f3e4da lang/org: fix backtab not outdenting items/headers 2018-07-30 04:06:00 +02:00
824abaf2e6 lang/org: alphabetize babel plugins 2018-07-30 03:53:52 +02:00
16e9957c1a Don't install/track org from ELPA
Prevents duplicate installs of org.
2018-07-30 03:49:12 +02:00
14f4e4384a lang/latex: general refactor 2018-07-30 03:43:43 +02:00
2e6c362df9 lang/latex: replace viewer flags with variable
The +zathura, +skim, +okular and +pdf-tools module flags have been
removed in favor of +latex-viewers, which takes a list of symbols. Its
order determines the priority. The first viewer found on your system is
used.

If none of these viewers are found, it will fall back to
latex-preview-pane.
2018-07-30 03:43:43 +02:00
c96c2aa7fb Add +latex-symbols-compand-backend delegate #754
If +latex-enable-unicode-math is non-nil, company-math-symbols-unicode
will be used instead of company-math-symbols-latex.
2018-07-30 03:43:42 +02:00
9f4b6869b6 lang/php: remove redundant :interpreter
Already defined in php-mode's autoloads.
2018-07-30 03:43:42 +02:00
248e9a487f Stop php-extras altering global company-backends 2018-07-30 02:57:50 +02:00
c24a3671b1 lang/racket: setq racket-smart-open-bracket-enable
Instead of doing so in a hook (which is harder to customize).

Addresses #772
2018-07-30 02:57:50 +02:00
5f8f38f02a lang/emacs-lisp: highlight stdlib functions & vars
TODO: Make more customizable
2018-07-29 19:31:33 +02:00
a3942b5e0b Don't set lisp-mode's docset to Emacs Lisp
lisp-mode is for clisp.
2018-07-29 19:31:33 +02:00
253660095f lang/racket: minor reformatting 2018-07-29 19:31:33 +02:00
53b246ef8c Remove racket-mode eval handler
The quickrun package already defines it.
2018-07-29 19:31:33 +02:00
a4a0441ec9 Rewrite comments for forced deferral of elisp-mode
Made clearer and more succinct.
2018-07-29 19:31:32 +02:00
66056e7a5d Move ob-racket to lang/org & cleanup
+ Remove redundant ob-crystal block
+ Move ob-ipython into separate section
+ Move ob-racket from lang/racket
2018-07-29 19:31:32 +02:00
35e5a47e9f Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00
db8ed4aac6 lang/php: add +hack support 2018-07-29 17:42:00 +02:00
f0f2c92b8d lang/php: prioritize phpctags in PATH
And fail more gracefully if phpctags isn't installed
2018-07-29 17:41:59 +02:00
6bcc01f591 Merge pull request #754 from patrl/latexRefactor
DONE: large refactor of latex
2018-07-29 17:39:46 +02:00
2a3c2ce7f7 Merge pull request #772 from mdssjc/racket-lang
Add Racket lang
2018-07-29 17:38:37 +02:00
960bde480d Install ob-racket conditionally
I'll move this to lang/org/packages.el later (not easy to do from the github text editor).
2018-07-29 17:29:27 +02:00
238e37a171 lang/racket: refactor and cleanup
+ Removed highlight-quoted block because `highlight-quoted-mode` is already autoloaded by the package
+ Removed org-babel-do-load-languages because lang/org/+babel already has a built-in autoloader for ob-* packages.
+ Removed flycheck-mode from racket-mode hook because it is enabled globally in :feature syntax-checker
+ Removed highlight-numbers-mode from racket-mode-hook because it is enabled on prog-mode-hook in core-ui (as of #770)
+ Fix racket popup rule regexp
+ Remove popup rules that were redundant with the defaults
+ Remove racket-mode-specific company-frontends value, looks like personal preference, otherwise should be set in a separate hook function that is easily recognized and disabled, if the user desires.
+ Remove :interpreter and :mode properties because they are already registered by the racket-mode package.
+ Move racket-unicode-input-method-enable into :hook property (to defer the config)
2018-07-29 17:22:01 +02:00
d8cd4bdf03 Add Racket lang 2018-07-29 10:50:17 -03:00
90d09e6f93 Highlight-numbers on every prog-mode 2018-07-29 12:19:56 +10:00
ebd3b0223e Fix followed org links not recentering correctly
Links like `file:test.cpp::45` would open file.cpp, but end up somewhere
else than line 45. Same with links like `file:test.cpp::int main()`.
2018-07-24 20:01:42 +02:00
189ff349cc Merge branch 'latexRefactor' of https://github.com/patrl/doom-emacs into latexRefactor 2018-07-23 15:48:23 +02:00