Commit graph

4087 commits

Author SHA1 Message Date
Henrik Lissner
40a900f533
lang/web: fix Emacs<26 incompatibility #806
The regexp argument for string-trim-right was introduced in 26.1.
2018-08-15 21:19:59 +02:00
Henrik Lissner
11b8ee55a1
Use helm-do-ag instead of helm-ag #805
Fixes project search matching against the leading file name.

And ensures modeline remains disabled.
2018-08-15 21:19:59 +02:00
Henrik Lissner
104e01f588
Improve set-repl-handler!'s docstring 2018-08-15 21:19:59 +02:00
Henrik Lissner
9584dd6005
Ensure file-template snippets are loaded
In case :feature snippets is disabled.
2018-08-15 21:19:59 +02:00
Henrik Lissner
486d4a12e7
Fix wrong-type-argument error opening new files
Caused when either your snippets library is empty or a file-template
doesn't exist when expanded.
2018-08-15 21:19:56 +02:00
Patrick Elliott
55b5c7711b
Updated readme 2018-08-15 08:34:21 +02:00
Patrick Elliott
f5c1be44ba
Added quelpa recipe 2018-08-15 08:33:38 +02:00
Patrick Elliott
2929b58cde
Modified variable 2018-08-15 08:17:20 +02:00
Patrick Elliott
4280ea3418
Added readme. 2018-08-14 23:30:20 +02:00
Patrick Elliott
fa223ceafd
Added basic coq support 2018-08-14 23:21:55 +02:00
Henrik Lissner
a824e04e92
lang/ruby: fix wrong-num-of-args error from setq 2018-08-14 09:33:42 +02:00
Henrik Lissner
cb38ffbd58
Merge pull request #799 from mdssjc/fixes-racket
Fixes Racket
2018-08-13 23:58:39 +02:00
Henrik Lissner
b8f1b90744
Remove set-company-backend!
Since racket-mode uses company-capf, it isn't necessary to set any default backends for it.
2018-08-13 23:57:10 +02:00
Henrik Lissner
9d7f8c359e
Add docstrings to helm project search commands 2018-08-13 21:47:56 +02:00
Henrik Lissner
77408ff12f
Refactor ivy project search API
The same as 7d617f15, but for ivy:

+ Heavily refactored +ivy-file-search
+ Removed -z flag from all engines by default
+ Changed the behavior of the universal argument for from-cwd
  interactive commands (e.g. +ivy/rg-from-cwd). It used to enable
  recursive searches, but now enables inclusion of hidden and compressed
  files in the search instead. *-from-cwd searches are always recursive
  now.
+ Now generates +ivy/X and +ivy/X-from-cwd commands dynamically.
+ Split +ivy/project-search into +ivy/project-search-from-cwd.
  Universal arguments are passed from these commands to their delegated
  engine command.
2018-08-13 21:47:56 +02:00
Henrik Lissner
f94b00887b
config/default: bind SPC b B/SPC b b appropriately
Depending on the status of feature/workspaces.
2018-08-13 21:47:56 +02:00
Henrik Lissner
2cc5d223fe
Rewrite how magit windows/popups are managed
The old policy was to invoke magit in fullscreen, but in practice, I've
found myself wanting to peek at other buffers (maybe even notes) while I
manage my project in version control.

So this change introduces two big changes and one fix:

+ Instead of a full-frame policy, we use full-column. e.g. Invoking
  magit-status will take up a full column of windows (and will restore
  them when you quit).
+ Popups are displayed below the current window if called from a magit
  buffer, otherwise as a popup at the bottom of the frame.
+ Fixes popups opening in a random window if called from a magit buffer
  in a popup.

This is only a start and needs more testing.
2018-08-13 21:47:56 +02:00
Henrik Lissner
391ac1cae5
Leverage cache in tide-project-root advise 2018-08-13 21:47:56 +02:00
Henrik Lissner
9c4d1c3b02
lang/php: replace ac-php with phpactor.el
phpactor is superior to phpctags, though it requires more setup.

phpactors.el is superior to ac-php, though it is in alpha.
2018-08-13 21:47:55 +02:00
Henrik Lissner
e0f2c260a1
Update lang/nix to reflect changes upstream
+ Restore nix-mode entry in auto-mode-alist
+ Add .drv entry to auto-mode-alist
+ Minor refactor for def-package! blocks
2018-08-13 21:47:55 +02:00
Henrik Lissner
5663778e36
Make TAB respect org-cycle-separator-lines #800
outline-toggle-children and org-cycle-hide-drawers didn't respect
org-cycle-separator-lines.
2018-08-13 21:47:55 +02:00
Henrik Lissner
90fa4a8c37
Add helm-ag-fuzzy-match support 2018-08-13 21:47:55 +02:00
Henrik Lissner
5714ff423a
Fix evil jumplist after jumping to ag match
helm-ag would formerly add multiple entries to the jump list. It now
only adds one, and recenters the window when jumping to an ag match.
2018-08-13 21:47:55 +02:00
Henrik Lissner
7d617f1541
Refactor helm project search API
+ Heavily refactored +helm-file-search
+ Removed -z flag from all engines by default
+ Changed the behavior of the universal argument for from-cwd
  interactive commands (e.g. +helm/rg-from-cwd). It used to enable
  recursive searches, but now enables inclusion of hidden and compressed
  files in the search instead. *-from-cwd searches are always recursive
  now.
+ Now generates +helm/X and +helm/X-from-cwd commands dynamically.
+ Split +helm/project-search into +helm/project-search-from-cwd.
  Universal arguments are passed from these commands to their delegated
  engine command.
2018-08-13 03:47:33 +02:00
Henrik Lissner
b0c71c2492
Add +helm/workspace-mini command & bind to SPC b b
+ Rename +helm/persp-buffer-list to +helm/workspace-buffer-list
+ Silence compiler warnings when feature/workspaces is disabled
+ Throw error if feature/workspaces is disabled and these commands are
  called.
2018-08-13 03:47:30 +02:00
Henrik Lissner
f143a03221
Use set-company-backend!
Fixes incorrect usage of setq-local in a global context.
2018-08-13 02:59:38 +02:00
Marcelo dos Santos
2f7282af12 Input-method optional 2018-08-12 13:52:35 -03:00
Henrik Lissner
d692718ab4
Fix selecting deleted window error
Caused by focus/unfocus modeline fixes accessing possibly dead buffers.
2018-08-12 18:25:09 +02:00
Marcelo dos Santos
36ac08f3fa Company-capf needs to be the first 2018-08-12 13:13:25 -03:00
Henrik Lissner
69e992e54a
lang/python: minor reformatting 2018-08-12 02:46:55 +02:00
Henrik Lissner
cd280e0fa9
Load ox-pandoc conditionally
This allows users to disable it
2018-08-11 22:56:31 +02:00
Henrik Lissner
69eb2cd40d
lang/python: improve pipenv support 2018-08-11 21:18:21 +02:00
Henrik Lissner
18925b51db
Update comments in feature/evil/+everywhere 2018-08-11 21:03:15 +02:00
Henrik Lissner
1490b9ec8d
Prioritize private snippets over built-in ones
In the case of snippet conflicts, you'd normally be prompted to select
which snippet you want. Built-in snippets are now disregarded if
conflicting private ones exist.

This makes it easier for users to add overriding snippets to
DOOMDIR/snippets.
2018-08-11 16:48:31 +02:00
Henrik Lissner
12c5490a39
Add node_modules/.bin to exec-path regardless #798
Before, this was conditional to the directory's existence. Add it
anyway, in case the folder is created while the buffer is open.

This may cause a problem is the project root changes while the buffer is
open, but for that case there's M-x doom/reload-project.
2018-08-11 01:59:38 +02:00
Henrik Lissner
ddf107a507
Disable counsel-projectile temporarily #93
Until upstream resolves ericdanan/counsel-projectile#93
2018-08-11 01:59:37 +02:00
Henrik Lissner
4c8c9a2d09
Add "resume last search" keybind for ivy/helm #742 2018-08-11 01:59:37 +02:00
Henrik Lissner
9653185478
lang/latex: fix PDF Tools viewer on MacOS 2018-08-11 01:59:37 +02:00
Henrik Lissner
09678f8b1d
lang/emacs-lisp: combine imenu var rules 2018-08-11 01:59:37 +02:00
Henrik Lissner
3b4fd56cac
Force helm posframe to respect min-(width|height)
And enable solaire-mode if available, and unused in origin buffer (to
make it easier to see posframe over non-solaire-mode buffers).
2018-08-11 01:59:37 +02:00
Henrik Lissner
e127819d88
Don't override ispell-program-name
Better not to override possible user customizations, only adjust
ispell-extra-args in case of aspell, to improve its performance.
2018-08-11 01:59:37 +02:00
Henrik Lissner
631f075a82
lang/emacs-lisp: polish symbol fontification
Follow up on 76b4af99; resolves "flickering christmas lights" issue
where symbols were incorrectly fontified with the last face while typing
them.
2018-08-11 01:59:37 +02:00
Henrik Lissner
bcbe2c6562
Merge pull request #794 from vikigenius/ess-fix
Fixed ess main load point
2018-08-10 19:42:01 +02:00
Henrik Lissner
76b4af99cc
lang/emacs-lisp: rewrite extra fontification
Now fontifies defined variables and functions, rather than from a
hardcoded list.
2018-08-10 19:40:07 +02:00
Henrik Lissner
7a216692e8
Don't modify helm-echo-input-in-header-line
This variable isn't reliable; some sources change it, making it
difficult to see our input.
2018-08-10 19:31:22 +02:00
Henrik Lissner
a24e4f51cd
ui/modeline: refocus after closing any posframe 2018-08-10 19:30:08 +02:00
Henrik Lissner
3e7c85244b
Improve modeline refocusing fixes
By affecting buffers instead of windows
2018-08-10 19:26:56 +02:00
Henrik Lissner
519330fcb1
Fix wrong-type-argument: treemacs-workspace error
Caused by changes upstream.
2018-08-10 18:52:20 +02:00
Henrik Lissner
b100fe332b
Slightly larger default +modeline-height (23) 2018-08-10 14:13:48 +02:00
Henrik Lissner
e33cb446aa
Refactor dashboard banner display & centering 2018-08-10 12:34:17 +02:00