Commit Graph

31 Commits

Author SHA1 Message Date
2869c020a0 Bump :editor
abo-abo/lispy@d6b19fe -> abo-abo/lispy@c7e282a
hlissner/doom-snippets@2781b78 -> hlissner/doom-snippets@2a0c3cf
joaotavora/yasnippet@3bf9a3b -> joaotavora/yasnippet@ac03c2f
joaotavora/yasnippet@3bf9a3b -> joaotavora/yasnippet@ac03c2f
noctuid/lispyville@56198f1 -> noctuid/lispyville@25a7012
2020-03-27 18:11:03 -04:00
ad89f79926 Better title heuristic for org template
Uses a stripped version of s-titleized-words, to not add s.el as a dependency.
2020-02-28 20:45:00 +02:00
3a4c83ec3b Fix file template :when logic to apply to modes
When a file template rule is evaluated against a particular buffer it is
supposed to call the :when function if it is defined. Currently, the
function is ignored if the PRED of the template rule is a mode. This
fixes this issue.
2020-02-26 10:45:14 -07:00
9d56af728f Fix typo in doom module readme template 2020-02-25 20:07:52 -05:00
59b57b7eae Fix empty list on +file-templates/insert-license
In case yasnippet hasn't loaded text-mode snippets yet.
2020-02-24 19:44:21 -05:00
037bcf3c12 Fix #2568: change when file-templates are expanded 2020-02-20 17:24:16 -05:00
b0978a4526 Merge pull request #2538 from yoavm448/develop
file-templates README: registering & overriding
2020-02-14 17:32:45 -05:00
55ed4ee7b6 Update TOC format of file-templates README
The new format is the one used by toc-org, the old one would have been
updated eventually...
2020-02-14 15:08:27 +02:00
608bc9f75b file-templates docs: registering and overriding 2020-02-14 15:07:46 +02:00
7b40e80a8f Fix +file-template-p to use :when keyword 2020-02-13 23:32:27 -06:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
d0b50da2c4 Add elisp package file-template 2020-01-20 19:31:36 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
0c9f1b1a9c Minor refactors & comment revision 2020-01-11 17:27:04 -05:00
8ac4320e0b Update readme file template 2020-01-09 16:41:12 -05:00
00c087be89 Fix typo 2020-01-01 17:19:44 +01:00
fe1642e854 Add special goto def/docs support in doom! blocks
- Pressing gd on a module in your doom! block will now browse that
  module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
  within that module's documenation.
- This is now explained in init.example.el

Closes #2249
2019-12-26 01:41:45 -05:00
a57610ccce add common paths to be ignored in most js projects 2019-12-08 14:20:14 +01:00
fd00870ae8 Fix #1401 2019-10-31 20:51:20 -04:00
3f759dde23 Optimize file-template find-file hook function 2019-10-25 20:25:20 -04:00
d8526e00a7 Use python-shell-interpreter for .py file tmeplate 2019-10-04 11:57:19 -04:00
8f1de7c998 Fix #1694: wrong-type-arg stringp errors on some files 2019-08-21 21:17:42 -04:00
fb619bdb0f Only trigger file-templates for non-existent files #1682
Possibly addresses #1401 too
2019-08-19 14:18:17 -04:00
c795a988e6 Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
0625bf87d6 Add a nxml-mode file template 2019-07-18 03:41:47 +02:00
c2fe951062 Add direnv-envrc-mode file template 2019-07-10 02:27:13 +02:00
5662b2c4b3 Add shell.nix file-template 2019-07-08 14:36:38 +02:00
c3d48e286b Add nix-mode file template 2019-06-27 21:35:53 +02:00
c0bffd4268 editor/file-templates: general refactor 2019-06-18 00:29:05 +02:00
21cf1c2da6 editor/file-templates: fix #1401
org-capture, when used on a target that doesn't exist, will invisibly
expand a file template, leaving a hang yasnippet active. After
org-capture initializes, the yasnippet will attempt to operate on
overlays that don't exist, throwing overlayp errors.
2019-06-18 00:21:26 +02:00
77e4cc4d58 💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00