Commit Graph

3788 Commits

Author SHA1 Message Date
Henrik Lissner
2c956593cf
completion/helm: don't index HOME
Invoke helm-find-files instead
2018-08-04 16:00:11 +02:00
Henrik Lissner
9a3e71731c
completion/ivy: bring back flx 2018-08-04 13:47:19 +02:00
Henrik Lissner
fa4b7502c2
lang/cc: add +cc/imenu command
Plus minor reformatting of autoloads file
2018-08-04 13:44:55 +02:00
Henrik Lissner
8248e80570
Improve web-mode + smartparens compatibility
This addresses two edge cases:

1. if web-mode-auto-close-style == 3, <'s behavior may insert an extra
   >
2. Some web-mode engines have pairs that end with smartparens pairs,
   which will result in web-mode inserting its closing pairs _and_
   smartparens inserting its closing pairs; resulting in extra
   characters.

Reported by @ar1a
2018-08-04 13:43:15 +02:00
Henrik Lissner
c4ec1413dc
ui/treemacs: update function name
Due to change upstream
2018-08-04 12:18:54 +02:00
Henrik Lissner
e916a4d6fe
Remove ivy-prescient
Doesn't bring enough to the table, slows down fuzzy searches too much,
and alters the way ivy highlights.
2018-08-04 02:42:32 +02:00
Henrik Lissner
41a641f53b
Disable counsel-projectile-find-file transformer 2018-08-04 02:30:26 +02:00
Henrik Lissner
c878314aa6
Refactor +ivy/projectile-find-file to use counsel
counsel-projectile-find-file has other capabilities (like actions and
sorting). So we conditionally use projectile-find-file only if the
project is large enough to warrant it.
2018-08-04 02:28:45 +02:00
Henrik Lissner
316a9f06b2
completion/company: add company-prescient 2018-08-04 02:14:43 +02:00
Henrik Lissner
4489ce6b81
ui/popup: refactor hacks 2018-08-04 00:00:16 +02:00
Henrik Lissner
1f1f2c3ebf
completion/ivy: fix ivy--regex-fuzzy typos 2018-08-03 21:57:47 +02:00
Henrik Lissner
35b88a597b
Activate ivy-prescient-mode on ivy-mode 2018-08-03 21:40:54 +02:00
Henrik Lissner
4db89a2fb4
Remove treemacs popup hack
Now that it is supported upstream.

Relevant to #766
2018-08-03 19:15:46 +02:00
Henrik Lissner
417736ecf6
Move hideshow config from ui/doom->emacs/hideshow 2018-08-03 18:20:27 +02:00
Henrik Lissner
0c36b4450e
lang/ruby: update rspec-mode integration
Prompted by upstream updates.
2018-08-03 18:07:39 +02:00
Henrik Lissner
0b130d7b9a
ui/modeline: fix spacing issues with flycheck/vc 2018-08-03 18:07:06 +02:00
Henrik Lissner
76868fe48d
ui/modeline: allow more options for bar 2018-08-03 18:06:44 +02:00
Henrik Lissner
50a82e72f6
ui/doom: enable solaire-mode in doom-tomorrow-night 2018-08-03 16:35:42 +02:00
Henrik Lissner
ab4052b8dc
Refactor completion/ivy & optimize projectile-find-file
counsel-projectile-find-file fontifies visited files and sorts the
resulting file list from projectile-find-file, adding considerable
overhead. Then, ivy-prescient performs a frecency sort and filter,
adding more overhead.

Altogether, this makes projectile-find-file unusable for larger projects
when fuzzy search is on (and in some extreme cases, when it's off). This
change disables both features specifically for projectile-find-file.

Fixes #774, hopefully
2018-08-03 16:35:42 +02:00
Henrik Lissner
3673067736
Fix projectile-find-file locking up Emacs
This occurs when invoking it from the root of massive file trees, like
$HOME or certain non-project folders. It's better that it defer to a
different command altogether (counsel-find-file) if invoked from $HOME,
and counsel-file-jump from anywhere else, which offers approximately
what we want, but at a fraction of the performance cost in those cases.
2018-08-03 16:10:20 +02:00
Henrik Lissner
31c8c0c033
lang/cc: rewrite C/C++/OBJC header file detection 2018-08-03 03:41:31 +02:00
Henrik Lissner
639349d0ed
feature/spellcheck: add hunspell/aspell support 2018-08-02 21:44:09 +02:00
Henrik Lissner
5772ace0ff
Update +spellcheck-immediately docstring
It won't work on LaTeX-mode-hook because flyspell-mode is added to
TeX-mode-hook, which runs before the former.
2018-08-02 16:46:04 +02:00
Henrik Lissner
5f1618e7a1
feature/spellcheck: minor reformatting 2018-08-02 16:40:47 +02:00
Henrik Lissner
7c4a353228
lang/latex: remove redundant visual-line-mode hook 2018-08-02 16:32:39 +02:00
Henrik Lissner
128eb611e0
lang/latex: remove +preview-pane flag
Reported by @UndeadKernel
2018-08-02 16:15:10 +02:00
Henrik Lissner
14816ef173
lang/latex: fix detection for other viewers
Incorrect use of cl-block/cl-return meant latex-preview-pane would
always be used as the default pdf viewer.

Reported by @UndeadKernel
2018-08-02 16:12:53 +02:00
Henrik Lissner
cf4ea445a1
lang/latex: don't reverse +latex-viewers
This incorrectly reversed the priority ordering of +latex-viewers. This
is an artifact from a rejected approach at short-circuiting
+latex-viewer, which was replaced with cl-block->cl-return.

Reported by @UndeadKernel
2018-08-02 15:48:32 +02:00
Henrik Lissner
0b8f3e29d5
Remove rg/pt ivy-re-builders-alist entries
Both counsel-(rg|pt) identify themselves as counsel-ag, so these extra
entries are necessary.
2018-08-02 03:51:15 +02:00
Henrik Lissner
4731f82766
ui/modeline: disable no-checker flycheck indicator 2018-08-02 03:50:51 +02:00
Henrik Lissner
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
Henrik Lissner
d2ecd87739
Fix ivy completion when treemacs is open
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
Henrik Lissner
baf400b736
completion/ivy: add ivy-prescient #774
Better fuzzy support versus flx; hopefully faster. Also brings frecency
sorting to ivy commands.
2018-08-02 01:53:29 +02:00
Henrik Lissner
59bc7653d5
completion/ivy: remove flx #774
flx is much too slow with large lists of candidates (i.e.
counsel-projectile-find-file).
2018-08-02 00:29:26 +02:00
Henrik Lissner
a18541851e
lang/python/doctor: check pyenv, conda & ipython 2018-08-02 00:13:00 +02:00
Henrik Lissner
9b11f8e76d
lang/python: remove +python-conda-env (unused) 2018-08-01 22:32:29 +02:00
Henrik Lissner
7ffa3c8d8d
lang/python: register ANACONDA_HOME envvar 2018-08-01 22:30:30 +02:00
Henrik Lissner
e053234992
lang/python: fix anaconda ignoring conda envs 2018-08-01 22:29:51 +02:00
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