Janfel
6ba04c13b2
Fix file template header in $DOOMDIR/autoload.
2020-08-04 15:24:50 +02:00
Henrik Lissner
8da2472bb4
Inhibit file templates in org-journal-mode
2020-06-04 20:13:29 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Seong Yong-ju
b8e85a42c7
Remove .yas-setup.el for java-mode
2020-05-07 08:28:12 +09:00
Seong Yong-ju
53eb32ea16
Fix Java file templates
2020-05-06 18:24:10 +09:00
Henrik Lissner
08f139391d
Bump :editor
...
PythonNut/evil-easymotion@79c13ed -> PythonNut/evil-easymotion@f96c2ed
abo-abo/lispy@c7e282a -> abo-abo/lispy@cdaa9c7
clemera/objed@8dc1770 -> clemera/objed@e89d8da
emacs-evil/evil-collection@493d523 -> emacs-evil/evil-collection@ba36304
emacs-evil/evil@8aa6337 -> emacs-evil/evil@d243eae
hlissner/doom-snippets@feaedeb -> hlissner/doom-snippets@422f683
hlissner/evil-snipe@3ec8adf -> hlissner/evil-snipe@2ba6353
joaotavora/yasnippet@ac03c2f -> joaotavora/yasnippet@5b1217a
mrkkrp/vimish-fold@d3248a4 -> mrkkrp/vimish-fold@6368523
redguardtoo/evil-nerd-commenter@747e346 -> redguardtoo/evil-nerd-commenter@1bd2de5
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-04-30 01:28:02 -04:00
Henrik Lissner
e1a9bf234f
Minor refactors
2020-04-26 02:33:37 -04:00
Steven vanZyl
ce2fee138a
Add set -euo pipefail to sh-mode file template
...
Adds a line with set -euo pipefail to the sh-mode file template, which improves the erroring of bash scripts
As described by https://ashishb.net/all/the-first-two-statements-of-your-bash-script-should-be/
2020-04-15 14:39:47 -04:00
Henrik Lissner
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
yoavm448
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
Tyler Ware
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
Henrik Lissner
9d56af728f
Fix typo in doom module readme template
2020-02-25 20:07:52 -05:00
Henrik Lissner
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
Henrik Lissner
037bcf3c12
Fix #2568 : change when file-templates are expanded
2020-02-20 17:24:16 -05:00
Henrik Lissner
b0978a4526
Merge pull request #2538 from yoavm448/develop
...
file-templates README: registering & overriding
2020-02-14 17:32:45 -05:00
yoavm448
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
yoavm448
608bc9f75b
file-templates docs: registering and overriding
2020-02-14 15:07:46 +02:00
Mark Martinez
7b40e80a8f
Fix +file-template-p
to use :when
keyword
2020-02-13 23:32:27 -06:00
Henrik Lissner
a9402cfb55
Fix #2373 : bring back package pinning
...
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
d0b50da2c4
Add elisp package file-template
2020-01-20 19:31:36 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES
2020-01-14 22:32:11 -05:00
Henrik Lissner
0c9f1b1a9c
Minor refactors & comment revision
2020-01-11 17:27:04 -05:00
Henrik Lissner
8ac4320e0b
Update readme file template
2020-01-09 16:41:12 -05:00
RBckmnn
00c087be89
Fix typo
2020-01-01 17:19:44 +01:00
Henrik Lissner
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
chrunchyjesus
a57610ccce
add common paths to be ignored in most js projects
2019-12-08 14:20:14 +01:00
Henrik Lissner
fd00870ae8
Fix #1401
2019-10-31 20:51:20 -04:00
Henrik Lissner
3f759dde23
Optimize file-template find-file hook function
2019-10-25 20:25:20 -04:00
Henrik Lissner
d8526e00a7
Use python-shell-interpreter for .py file tmeplate
2019-10-04 11:57:19 -04:00
Henrik Lissner
8f1de7c998
Fix #1694 : wrong-type-arg stringp errors on some files
2019-08-21 21:17:42 -04:00
Henrik Lissner
fb619bdb0f
Only trigger file-templates for non-existent files #1682
...
Possibly addresses #1401 too
2019-08-19 14:18:17 -04:00
Henrik Lissner
c795a988e6
Conform many modules to new conventions
2019-07-23 12:30:47 +02:00
Henrik Lissner
0625bf87d6
Add a nxml-mode file template
2019-07-18 03:41:47 +02:00
Henrik Lissner
c2fe951062
Add direnv-envrc-mode file template
2019-07-10 02:27:13 +02:00
Henrik Lissner
5662b2c4b3
Add shell.nix file-template
2019-07-08 14:36:38 +02:00
Henrik Lissner
c3d48e286b
Add nix-mode file template
2019-06-27 21:35:53 +02:00
Henrik Lissner
c0bffd4268
editor/file-templates: general refactor
2019-06-18 00:29:05 +02:00
Henrik Lissner
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
Henrik Lissner
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