Commit graph

4000 commits

Author SHA1 Message Date
Henrik Lissner
b7bbf4d7ed
Add git-commit-mode to yas-extra-modes
Fixes snippets in git-commit-mode.
2018-08-01 19:26:20 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
06aa16bbfb
lang/ruby: keep mode-line indicator up-to-date 2018-08-01 15:18:58 +02:00
Henrik Lissner
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
Henrik Lissner
e79111ff54
Eval +modeline-major-mode live
It's a small segment. We can afford it being a little more greedy.
2018-08-01 15:01:27 +02:00
Henrik Lissner
4a14df9254
Add mode-line-process to :main & :special formats 2018-08-01 01:48:22 +02:00
Henrik Lissner
0cdb736670
Default modeline segments to :init
Fixes buffer-id in non-file-visiting buffers.
2018-08-01 01:47:45 +02:00
Henrik Lissner
65f0dcef54
lang/python: remove references to removed variable 2018-08-01 01:31:12 +02:00
Henrik Lissner
8272d8e98f
ui/modeline: rpad +modeline-flycheck 2018-08-01 01:14:36 +02:00
Henrik Lissner
90d0f334f8
lang/python: rewrite mode-line indicator (again) 2018-08-01 01:13:49 +02:00
Henrik Lissner
9cf5907c48
lang/python: update modeline on version change 2018-07-31 23:21:13 +02:00
Henrik Lissner
991199ee78
Fix PYENV -> PYENV_ROOT envvar typo 2018-07-31 23:16:18 +02:00
Henrik Lissner
b4c8584f64
lang/python: rewrite version mode-line segment 2018-07-31 23:07:22 +02:00
Henrik Lissner
43dcaa1853
Demote evil-collection errors 2018-07-31 19:35:30 +02:00
Henrik Lissner
8d486b755e
Add app/notmuch module (WIP) 2018-07-31 19:33:27 +02:00
Henrik Lissner
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
Henrik Lissner
26cc2a4f8a
app/write: don't tamper with org-indent-mode 2018-07-31 19:12:40 +02:00
Henrik Lissner
9079fdd9ec
app/write: fix +write-mode not disabling other modes 2018-07-31 19:11:41 +02:00
Henrik Lissner
0a746bdf1e
app/write: fixed-pitch for org-todo & line numbers 2018-07-31 19:11:10 +02:00
Henrik Lissner
a7bef8ec88
app/write: refactor
Removed autoloads that are already defined by packages.
2018-07-31 18:41:34 +02:00
Henrik Lissner
fb3d385211
ui/modeline: add flycheck segment 2018-07-31 18:40:54 +02:00
Henrik Lissner
b3f2a8cd54
ui/modeline: minor refactor
Add +modeline-segment-active-p predicate function.
2018-07-31 18:40:30 +02:00
Henrik Lissner
b62e40b10b
ui/modeline: add +modeline-width option 2018-07-31 16:54:38 +02:00
Henrik Lissner
74b700f9a7
Add copy-to-clipboard support to :gbr & +vc/git-browse 2018-07-31 16:33:16 +02:00
Henrik Lissner
3948255445
lang/ruby: rewrite rbenv support; add rvm support 2018-07-31 15:51:25 +02:00
Henrik Lissner
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
Henrik Lissner
85af18a04d
lang/emacs-lisp/+symbols: reformat & update
Removed some special forms (provide, require, and defalias)
2018-07-31 03:53:14 +02:00
Henrik Lissner
9f074a1aa3
Add option to enable extra elisp fontification 2018-07-31 03:48:45 +02:00
Henrik Lissner
70e0280db3
Don't byte-compile modeline format functions
Fixes unused lexical arg warnings when starting up.
2018-07-30 23:50:03 +02:00
Henrik Lissner
59f869bf5e
ui/modeline: update comments & benchmarks 2018-07-30 23:10:18 +02:00
Henrik Lissner
45e1b371e6
Add after-load-alist to elisp variables 2018-07-30 23:04:27 +02:00
Henrik Lissner
b846a40af4
Remove unused letvar, spec 2018-07-30 23:03:34 +02:00
Henrik Lissner
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
Henrik Lissner
1211c2c7f7
Fix incorrectly rendered icons in modeline #773
And possibly fix bytecomp warnings about unused lexical variables.
2018-07-30 23:00:35 +02:00
Henrik Lissner
78d14b0439
Add after-delete-frame-functions to elisp variables 2018-07-30 13:19:15 +02:00
Henrik Lissner
71e71b9b83
Revert fe3a73c1: remap newline instead of binding RET 2018-07-30 13:08:52 +02:00
Henrik Lissner
b2b8d5d260
Fix company-backends circular-list error in latex 2018-07-30 13:05:02 +02:00
Henrik Lissner
533cb13a02
Append default backends to buffer-local backends 2018-07-30 12:57:26 +02:00
Henrik Lissner
e94f1f39f4
Enable evil-collection-(deadgrep|imenu-list) 2018-07-30 12:34:53 +02:00
Henrik Lissner
cbc59f9333
Appease the byte-compiler 2018-07-30 12:10:11 +02:00
Henrik Lissner
c935f3e4da
lang/org: fix backtab not outdenting items/headers 2018-07-30 04:06:00 +02:00
Henrik Lissner
824abaf2e6
lang/org: alphabetize babel plugins 2018-07-30 03:53:52 +02:00
Henrik Lissner
16e9957c1a
Don't install/track org from ELPA
Prevents duplicate installs of org.
2018-07-30 03:49:12 +02:00
Henrik Lissner
fb233bd37d
completion/helm: fix evil keybinds in helm
Evil-mode was disabled in the minibuffer due to odd behavior, causing
all helm's evilified keybinds to be inaccessible.
2018-07-30 03:43:43 +02:00
Henrik Lissner
14f4e4384a
lang/latex: general refactor 2018-07-30 03:43:43 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
9f4b6869b6
lang/php: remove redundant :interpreter
Already defined in php-mode's autoloads.
2018-07-30 03:43:42 +02:00
Henrik Lissner
22aeaec399
Refactor how company-backends are set and stored
Company backends are now built from an alist (+company-backend-alist),
which can be manipulated through set-company-backend!. Backends can now
be set to all children of a parent mode (text-mode, prog-mode, etc),
like so:

  (set-company-backend! :derived 'text-mode 'company-dabbrev)

or only for an exact major-mode:

  (set-company-backend! 'markdown-mode 'company-dabbrev-code)

Backends cascade. So combining the two examples above will cause
company-backends in a markdown-buffer (which is derived from text-mode)
to be (company-dabbrev-code company-dabbrev).
2018-07-30 03:43:42 +02:00