Skip to content

Instantly share code, notes, and snippets.

@Menencia
Created November 23, 2012 11:03
Show Gist options
  • Save Menencia/4135135 to your computer and use it in GitHub Desktop.
Save Menencia/4135135 to your computer and use it in GitHub Desktop.
Kohana completions for Sublime Text 2
{
"scope": "source.php - variable.other.php",
"completions":
[
{ "trigger": "HTML::anchor", "contents": "HTML::anchor(${1:uri}, ${2:title = NULL}, ${3:attributes = NULL}, ${4:protocol = NULL})" },
{ "trigger": "HTML::attributes", "contents": "HTML::attributes(${1:attributes = NULL})" },
{ "trigger": "HTML::chars", "contents": "HTML::chars(${1:value = NULL}, ${2:double_encode = TRUE})" },
{ "trigger": "HTML::email", "contents": "HTML::email(${1:email})" },
{ "trigger": "HTML::entities", "contents": "HTML::entities(${1:value}, ${2:double_encode = TRUE})" },
{ "trigger": "HTML::file_anchor", "contents": "HTML::file_anchor(${1:file}, ${2:title = TRUE}, ${3:attributes = NULL}, ${4:protocol = NULL})" },
{ "trigger": "HTML::image", "contents": "HTML::image(${1:file}, ${2:attributes = NULL}, ${3:index = FALSE})" },
{ "trigger": "HTML::mailto", "contents": "HTML::mailto(${1:email}, ${2:title = NULL}, ${3:attributes = FALSE})" },
{ "trigger": "HTML::obfuscate", "contents": "HTML::obfuscate(${1:string})" },
{ "trigger": "HTML::script", "contents": "HTML::script(${1:file}, ${2:attributes = NULL}, ${3:index = FALSE})" },
{ "trigger": "HTML::style", "contents": "HTML::style(${1:file}, ${2:attributes = NULL}, ${3:index = FALSE})" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment