Commit graph

10 commits

Author SHA1 Message Date
66b491395d style(nvim): run stylua 2022-08-18 00:09:53 +01:00
b94e7267ce feat(nvim): add drupalclass snippet
Add a new `drupalclass` snippet for Luasnip that scaffolds a new PHP
class that's opinionated for Drupal applications.

The class name is based on the filename (minus the file extension) and
the namespace is generated automatically from the directory structure
based on the location of the `src` directory.

It also includes the `Tests` entry within the namespace if the file is
witin a `tests` directory.
2022-06-02 22:50:01 +01:00
bc4e9b7952 feat(nvim): make req work with dots 2022-03-23 19:36:35 +00:00
f6578a821a feat(nvim): add a snippet for pcall
Useful when adding configuration files for new plugins.
2022-02-16 08:18:32 +00:00
06664fda41 feat: update luasnip configuration 2022-02-10 10:02:08 +00:00
44e7add133 refactor(nvim): remove unused local 2022-01-20 15:47:44 +00:00
9b4f4b2a7b feat(nvim): add rst snippets
Refs: #23
2022-01-12 13:44:24 +00:00
3e78a62033 refactor(nvim): use key/value pairs for snippets
Refs: #23
2022-01-12 13:44:22 +00:00
a44b5b092f feat(nvim): add drupalclass snip 2022-01-12 07:43:53 +00:00
396c6f9c37 refactor(nvim): move file type snippets into ft 2022-01-10 01:30:11 +00:00