diff --git a/.config/coc/ultisnips/all.snippets b/.config/coc/ultisnips/all.snippets new file mode 100644 index 0000000..95531c3 --- /dev/null +++ b/.config/coc/ultisnips/all.snippets @@ -0,0 +1,38 @@ +# A valid snippet should starts with: +# +# snippet trigger_word [ "description" [ options ] ] +# +# and end with: +# +# endsnippet +# +# Snippet options: +# +# b - Beginning of line. +# i - In-word expansion. +# w - Word boundary. +# r - Regular expression +# e - Custom context snippet +# A - Snippet will be triggered automatically, when condition matches. +# +# Basic example: +# +# snippet emitter "emitter properties" b +# private readonly ${1} = new Emitter<$2>() +# public readonly ${1/^_(.*)/$1/}: Event<$2> = this.$1.event +# endsnippet +# +# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt +snippet cmt "/* | */" +${1}/* ${0} */ +endsnippet + +snippet f "inline function" +${1}function${2}(${3}){${0}} +endsnippet + +snippet fun "function" +${1}function ${2:name}(${3:params}){ + ${0:/* code */} +} +endsnippet diff --git a/.config/coc/ultisnips/gitcommit.snippets b/.config/coc/ultisnips/gitcommit.snippets new file mode 100644 index 0000000..3880850 --- /dev/null +++ b/.config/coc/ultisnips/gitcommit.snippets @@ -0,0 +1,20 @@ +# an idea from https://github.com/robinpokorny/git3moji +# [![git3moji–v1.0](https://img.shields.io/badge/git3moji–v1.0-%E2%9A%A1%EF%B8%8F%F0%9F%90%9B%F0%9F%93%BA%F0%9F%91%AE%F0%9F%94%A4-fffad8.svg?style=flat-square)](https://robinpokorny.github.io/git3moji/) +snippet zap--⚡️–features-primary-concerns-3 "" +:zap: +endsnippet +snippet bug--🐛-fixes-3 "" +:bug: +endsnippet +snippet zapcop--⚡️👮-refactoring-3 "" +:zap::cop: +endsnippet +snippet tv--📺–ci-tooling-configuration-3 "" +:tv: +endsnippet +snippet cop--👮–tests-linting-comments-3 "" +:cop: +endsnippet +snippet abc--🔤-documentation-3 "" +:abc: +endsnippet diff --git a/.config/coc/ultisnips/gitcommit.snippets-bak b/.config/coc/ultisnips/gitcommit.snippets-bak new file mode 100644 index 0000000..0454d31 --- /dev/null +++ b/.config/coc/ultisnips/gitcommit.snippets-bak @@ -0,0 +1,204 @@ +snippet alembic--experimenting-new-things "" b +:alembic: +endsnippet +snippet alien--updating-code-due-to-external-api-changes "" b +:alien: +endsnippet +snippet ambulance--critical-hotfix "" b +:ambulance: +endsnippet +snippet apple--fixing-something-on-macos "" b +:apple: +endsnippet +snippet arrow_down--downgrading-dependencies "" b +:arrow_down: +endsnippet +snippet arrow_up--upgrading-dependencies "" b +:arrow_up: +endsnippet +snippet art--improving-structure--format-of-the-code "" b +:art: +endsnippet +snippet beers--writing-code-drunkenly "" b +:beers: +endsnippet +snippet bento--adding-or-updating-assets "" b +:bento: +endsnippet +snippet bookmark--releasing--version-tags "" b +:bookmark: +endsnippet +snippet boom--introducing-breaking-changes "" b +:boom: +endsnippet +snippet bug--fixing-a-bug "" b +:bug: +endsnippet +snippet building_construction--making-architectural-changes "" b +:building_construction: +endsnippet +snippet bulb--documenting-source-code "" b +:bulb: +endsnippet +snippet busts_in_silhouette--add-contributor(s) "" b +:busts_in_silhouette: +endsnippet +snippet camera_flash--adding-or-updating-snapshots "" b +:camera_flash: +endsnippet +snippet card_file_box--performing-database-related-changes "" b +:card_file_box: +endsnippet +snippet chart_with_upwards_trend--adding-analytics-or-tracking-code "" b +:chart_with_upwards_trend: +endsnippet +snippet checkered_flag--fixing-something-on-windows "" b +:checkered_flag: +endsnippet +snippet children_crossing--improving-user-experience--usability "" b +:children_crossing: +endsnippet +snippet clown_face--mocking-things "" b +:clown_face: +endsnippet +snippet construction--work-in-progress "" b +:construction: +endsnippet +snippet construction_worker--adding-ci-build-system "" b +:construction_worker: +endsnippet +snippet dizzy--adding-or-updating-animations-and-transitions "" b +:dizzy: +endsnippet +snippet egg--adding-an-easter-egg "" b +:egg: +endsnippet +snippet fire--removing-code-or-files "" b +:fire: +endsnippet +snippet globe_with_meridians--internationalization-and-localization "" b +:globe_with_meridians: +endsnippet +snippet goal_net--catching-errors"-b +:goal_net: +endsnippet +snippet green_apple--fixing-something-on-ios "" b +:green_apple: +endsnippet +snippet green_heart--fixing-ci-build "" b +:green_heart: +endsnippet +snippet heavy_minus_sign--removing-a-dependency "" b +:heavy_minus_sign: +endsnippet +snippet heavy_plus_sign--adding-a-dependency "" b +:heavy_plus_sign: +endsnippet +snippet iphone--working-on-responsive-design "" b +:iphone: +endsnippet +snippet label--adding-or-updating-types--flow--typescript "" b +:label: +endsnippet +snippet lipstick--updating-the-ui-and-style-files "" b +:lipstick: +endsnippet +snippet lock--fixing-security-issues "" b +:lock: +endsnippet +snippet loud_sound--adding-logs "" b +:loud_sound: +endsnippet +snippet mag--improving-seo "" b +:mag: +endsnippet +snippet memo--add-or-update-documentation "" b +:memo: +endsnippet +snippet mute--removing-logs "" b +:mute: +endsnippet +snippet ok_hand--updating-code-due-to-code-review-changes "" b +:ok_hand: +endsnippet +snippet package--updating-compiled-files-or-packages "" b +:package: +endsnippet +snippet page_facing_up--adding-or-updating-license "" b +:page_facing_up: +endsnippet +snippet pencil--writing-docs "" b +:pencil: +endsnippet +snippet pencil2--fixing-typos "" b +:pencil2: +endsnippet +snippet penguin--fixing-something-on-linux "" b +:penguin: +endsnippet +snippet poop--writing-bad-code-that-needs-to-be-improved "" b +:poop: +endsnippet +snippet pushpin--pinning-dependencies-to-specific-versions "" b +:pushpin: +endsnippet +snippet recycle--refactoring-code "" b +:recycle: +endsnippet +snippet rewind--reverting-changes "" b +:rewind: +endsnippet +snippet robot--fixing-something-on-android "" b +:robot: +endsnippet +snippet rocket--deploying-stuff "" b +:rocket: +endsnippet +snippet rotating_light--removing-linter-warnings "" b +:rotating_light: +endsnippet +snippet see_no_evil--adding-or-updating-a- "" b +:see_no_evil: +endsnippet +snippet seedling--adding-or-updating-seed-files"-b +:seedling: +endsnippet +snippet sparkles--introducing-new-features "" b +:sparkles: +endsnippet +snippet speech_balloon--updating-text-and-literals "" b +:speech_balloon: +endsnippet +snippet tada--initial-commit "" b +:tada: +endsnippet +snippet triangular_flag_on_post--adding--updating--or-removing-feature-flags "" b +:triangular_flag_on_post: +endsnippet +snippet truck--moving-or-renaming-files "" b +:truck: +endsnippet +snippet twisted_rightwards_arrows--merging-branches "" b +:twisted_rightwards_arrows: +endsnippet +snippet wastebasket--deprecating-code-that-needs-to-be-cleaned-up "" b +:wastebasket: +endsnippet +snippet whale--work-about-docker "" b +:whale: +endsnippet +snippet wheel_of_dharma--work-about-kubernetes "" b +:wheel_of_dharma: +endsnippet +snippet wheelchair--improving-accessibility "" b +:wheelchair: +endsnippet +snippet white_check_mark--updating-tests "" b +:white_check_mark: +endsnippet +snippet wrench--changing-configuration-files "" b +:wrench: +endsnippet +snippet zap--improving-performance "" b +:zap: +endsnippet diff --git a/.config/coc/ultisnips/html.snippets b/.config/coc/ultisnips/html.snippets new file mode 100644 index 0000000..5377d60 --- /dev/null +++ b/.config/coc/ultisnips/html.snippets @@ -0,0 +1,60 @@ +# A valid snippet should starts with: +# +# snippet trigger_word [ "description" [ options ] ] +# +# and end with: +# +# endsnippet +# +# Snippet options: +# +# b - Beginning of line. +# i - In-word expansion. +# w - Word boundary. +# r - Regular expression +# e - Custom context snippet +# A - Snippet will be triggered automatically, when condition matches. +# +# Basic example: +# +# snippet emitter "emitter properties" b +# private readonly ${1} = new Emitter<$2>() +# public readonly ${1/^_(.*)/$1/}: Event<$2> = this.$1.event +# endsnippet +# +# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt +snippet sceleton "HTML5" b + + + +
+ + + + + + + + +