diff --git a/espanso/espanso/config/xcode.yml b/espanso/espanso/config/xcode.yml new file mode 100644 index 0000000..7ee4aa8 --- /dev/null +++ b/espanso/espanso/config/xcode.yml @@ -0,0 +1,5 @@ +# Xcode specific configuration. + +filter_exec: "Xcode" +extra_includes: + - "../match/_xcode_snippets.yml" diff --git a/espanso/espanso/match/_xcode_snippets.yml b/espanso/espanso/match/_xcode_snippets.yml new file mode 100644 index 0000000..6bdf734 --- /dev/null +++ b/espanso/espanso/match/_xcode_snippets.yml @@ -0,0 +1,13 @@ +# These are Xcode specific matches. +matches: + - trigger: ":struct" + replace: | + struct $|$ { + + } + + - trigger: ":pstruct" + replace: | + public struct $|$ { + + }