Commit Graph

8995 Commits

Author SHA1 Message Date
d481fc1dd4 tools/lookup: update README & docstrings
And minor reformatting of config.el
2019-05-03 20:44:49 -04:00
96ca04d488 Set lsp lookup handlers rather than remapping them
Now that the lookup module has beter deferred handler support.
2019-05-03 20:03:32 -04:00
90922caad0 lang/java: remove vestigial function call
Reported by @ztlevi
2019-05-03 19:44:38 -04:00
bd79f942d3 lang/emacs-lisp: fix false errors from featurep! 2019-05-03 13:39:00 -04:00
3bebf3ac9b Extend switch-buffer hook coverage
To cover switch-to-{next,prev}-buffer commands, which are used in quite
a few places, but don't implicitly trigger switch-buffer hooks.

Also removes switch-{window,buffer,frame} logging. Adds too much noise,
which isn't very helpful.

Also fixes VC state not being refreshed when switching to stale buffers
in certain ways.
2019-05-02 23:10:09 -04:00
388e0def2c Cheer up the byte-compiler
You deserve better than those warnings.
2019-05-02 21:54:47 -04:00
25beb4bcfd lang/emacs-lisp: restore flycheck in elisp buffers
However, with `emacs-lisp-checkdoc` disabled and `emacs-lisp`
significantly gimped.

byte-compile-warnings may need to be adjusted to allow for *some*
warnings.

Also, reformat emacs-lisp-mode hooks
2019-05-02 21:23:33 -04:00
ee7ff68ae4 lang/emacs-lisp: don't move cursor on syntax error
i.e. when parentheses are unbalanced.
2019-05-02 20:40:48 -04:00
2823c4e467 Bind SPC h R = doom/reload
As an alias to SPC h r r
2019-05-02 18:18:01 -04:00
1c976dc0e4 Minor, general refactors
Also rename custom lookup handlers for consistency and use the new
inline :async property instead.
2019-05-02 17:57:31 -04:00
d17764366e Rewrite lookup handling
- Rewrite documentation for set-lookup-handlers!
- Remove opening lookup targets in other-window; sorry, but there is no
  consistent, stable way to do this, when many jump handlers are
  asynchronous. If you want to open a jump target in another window,
  create a split beforehand.
- Add support for jump handlers returning 'fail or 'deferred
- Fix xref backends when using async UIs like ivy or helm
- Conditionalize creating a better-jump jump point, and create it in the
  spot we jumped *from*, not where we jumped *to*.
2019-05-02 17:53:59 -04:00
0f21e2b44a Fix lookup handlers not being used #1378 2019-05-02 17:51:51 -04:00
898ef11b76 Saving the world, one trailing space at a time 2019-05-02 16:20:40 -04:00
aff63899b0 dtrt-indent: silence messages, but still log them 2019-05-02 16:00:18 -04:00
ae06ddf78a ui/popup: update README 2019-05-02 15:11:32 -04:00
9fc87049ab Add new Issue & PR templates 2019-05-01 21:02:29 -04:00
eb47568701 cli/quickstart: generate {init,config,packages}.el separately
Instead of aborting if DOOMDIR exists, all three files will be
checked (and generated) separately.
2019-05-01 21:02:29 -04:00
952a86c2e5 completion/company: revise idle completion in docs 2019-05-01 21:02:29 -04:00
dee6e4c214 lang/web: use only company-capf for s?css-mode 2019-05-01 21:02:29 -04:00
fd04f468e2 lang/emacs-lisp: reformat autoloads file
Moves public function away from interactive commands.
2019-05-01 21:02:29 -04:00
983f081369 lang/emacs-lisp: improve imenu support
Among other things:

- Recognizes after!, ;;;###package and use-package as "Packages"
- Recognizes outline-minor-mode "Sections"
2019-05-01 21:02:29 -04:00
6d314c2795 Revise and update docstrings and comments 2019-05-01 21:02:28 -04:00
4aa65aa019 Move avy, ace-link & ace-window out of core
They don't belong there, and ace-window is no longer a core dependency
anyhow.
2019-05-01 21:02:28 -04:00
8a525005a9 Merge pull request #1376 from Dragnucs/patch-1
Update treemacs open command
2019-05-01 15:00:41 -04:00
adc8fc0ad1 tools/lookup: autoload +lookup-online-backend #1375 2019-04-30 20:22:28 -04:00
f20f477a44 lang/rust: fix documentation lookup handler #1374 2019-04-30 20:21:12 -04:00
6bd6c1623b Fix 'doom upgrade' not updating pkg autoloads
Folks should no longer need to run 'doom refresh' after upgrading.
2019-04-30 18:44:44 -04:00
a57d9d3a25 Change :after-call heuristic for detecting fn/hook 2019-04-30 15:12:07 -04:00
ed5d27eee7 tools/lookup: stop prompting for TAGS file 2019-04-30 15:11:23 -04:00
6b21e31df6 tools/lookup: update dumb-jump backend
dumb-jump-go no longer returns a plist, but a file path, on successful
jump.
2019-04-30 15:10:43 -04:00
3a3017004c Fix whitespace-style for non-default-indentation hl
And remove lines-tail. This is outside the purview of this hook.
2019-04-30 14:37:29 -04:00
787cab6007 Update treemacs open command
Update treemacs open command toggle +treemacs/toggle
2019-04-30 10:25:39 +01:00
414d340567 Correct typo in editor/evil/README.org #1361 2019-04-29 20:57:48 -04:00
f5e01503a9 Update project README
- Fix some broken links
- Hide navigation links at the top (for now, until they exist)
- Update mantras to reflect current state of the project
- General revisions and reformatting
2019-04-29 20:56:06 -04:00
39db0a38c5 Record TRAMP files in recentf 2019-04-29 18:56:25 -04:00
9735f034e1 General refactors & optimizations 2019-04-29 18:54:46 -04:00
087127a31d Lazy-install buttercup package 2019-04-29 18:48:35 -04:00
7c5fb8ed9c Remove highlight-escape-sequences
Payoff < performance cost, and is too opinionated.
2019-04-29 18:17:23 -04:00
b2d49c29ca ui/modeline: minor refactor/reformatting 2019-04-29 18:13:28 -04:00
4aa4802885 ui/modeline: remove indent segment
It's wasted space now that dtrt-indent logs changes to indentation.

Also resolves a performance issue where the tab/space unicode character
would cause long 3-5s delays on startup or first-file load.
2019-04-29 18:03:18 -04:00
26050bb1d7 Refactor interactive CLI commands
Also fixes an issue where output wasn't colored correctly.
2019-04-26 22:11:37 -04:00
8e453462c7 lang/org: evil-org-retain-visual-state-on-shift = t 2019-04-26 17:43:45 -04:00
6b69eaa397 Minor refactors across the board 2019-04-26 17:42:44 -04:00
ac55b6a826 Remove unused doom-which-key-leader-prefix-regexp 2019-04-26 17:39:13 -04:00
a03b676297 Move leader which-key labels to core-keybinds 2019-04-26 17:29:54 -04:00
ba94ab09d3 editor/evil: disable C-i keybind for tty users #1367 2019-04-26 17:29:54 -04:00
12a3adab2c ui/doom-dashboard: fix evil motion keys #1365
Because :feature evil was moved to :editor evil, it is initialized
later, meaning evil map! keybinds prior to that module loading are
ignored. There's no harm in generalizing these remaps, however.
2019-04-26 17:29:54 -04:00
15e47cb9f1 Merge pull request #1366 from flatwhatson/fix-ivy-rich
Fixes for ivy-switch-buffer icons
2019-04-26 14:39:23 -04:00
9cdd5b2f99 Fixes for ivy-switch-buffer icons
Corrects the ivy-switch-buffer transformer to use buffer icons (not file
icons), and fixes alignment issues in the icon display.
2019-04-27 00:14:53 +10:00
c79cf3c820 lang/python: use anaconda-mode for non-project files 2019-04-25 22:20:31 -04:00