Commit Graph

33 Commits

Author SHA1 Message Date
Dominik Schrempf
b77699c38f nit(org): lower case keywords in file templates
See https://list.orgmode.org/87tuuw3n15.fsf@nicolasgoaziou.fr/.
2022-03-31 00:43:51 +02:00
Ian Kerins
893b4171b7 tweak(file-templates): remove default JSON template
As described at https://www.json.org/json-en.html, JSON has multiple
top-level forms (at least objects and arrays, and potentially all values
as well, depending on who you ask). Of these, I would not say array is a
good default. I frequently find myself deleting this default, generally
to use an object instead.

Because there is no consistent winner, and because the template is so
trivial, it seems best to simply delete it: the cost of the template not
matching the user's intent outweighs any benefit it stands to deliver
when it does match the user's intent.
2022-03-19 16:14:53 +01:00
Layerex
169896e9ad tweak(file-templates): update default solidity template
- Added SPDX-License-Identifier
- Renewed default version pragma
2022-02-23 17:47:14 +01:00
Henrik Lissner
6ab43ff252 tweak(file-templates): use NAME <EMAIL> for Author: line
Instead of the github URL. No guarantee the user is a github user.
2022-02-23 15:23:14 +01:00
Sam Hedin
771b7147c9 revert: "Add set -euo pipefail to sh-mode file template"
Revert ce2fee138a
Close #5428
2021-09-23 11:36:09 +02:00
bartuka
b598d83aeb feat(file-templates): add clojure gitignore template (#5357) 2021-09-14 14:27:55 +02:00
Henrik Lissner
d88948f764 fix(file-templates): github user in elisp packages 2021-08-16 11:36:09 -04:00
meltinglava
3eac1f4e8a removed unused use in "file-template rust main" 2021-06-23 22:52:27 +02:00
Seong Yong-ju
63cc08be98 lang/java: Add file templates
- `__annotation-type`
- `__enum`
- `__interface`
- `__record`
- `__` → `__class` (rename)
2021-06-05 23:21:53 +09:00
Joseph Morag
b20736c9b7 Add haskell gitignore template 2021-05-30 11:07:29 -04:00
Tomasz Andrzejak
704aa4ebde Remove double underscore from c header templates
Using double underscore for an identifier in C/C++ invokes undefined
behavior.

From https://eel.is/c++draft/lex.name:

Each identifier that contains a double underscore __ or begins with an
underscore followed by an uppercase letter is reserved to the
implementation for any use.
2021-03-16 10:16:33 +01:00
Sam Whitlock
86345887d8 Fixing the gpl template clash.
Need to escape the backticks that should appear as literals in the GPLv3 license.
2021-02-27 15:38:04 +01:00
Henrik Lissner
334e054ab0 Read username from git config github.user
Falls back to user-login-name otherwise.
2021-01-28 21:23:07 -05:00
Henrik Lissner
d0e7451de8 Merge pull request #4533 from danlamanna/fix-module-404s
Fix various broken links
2021-01-27 02:42:40 -05:00
Henrik Lissner
75ac7be289 Fix package-lint warnings in elisp package template 2021-01-18 17:53:59 -05:00
Dan LaManna
08354f3316 Fix various broken links 2021-01-17 15:08:21 -05:00
TEC
3d993286c0 Licences: Add tabstops with defaults to gpl3 2020-10-22 02:09:22 +08: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
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
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
Henrik Lissner
9d56af728f Fix typo in doom module readme template 2020-02-25 20:07:52 -05:00
Henrik Lissner
d0b50da2c4 Add elisp package file-template 2020-01-20 19:31:36 -05:00
Henrik Lissner
8ac4320e0b Update readme file template 2020-01-09 16:41:12 -05: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
d8526e00a7 Use python-shell-interpreter for .py file tmeplate 2019-10-04 11:57:19 -04: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
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