Skip to content

Commit

Permalink
Added tab completions for valid option directives
Browse files Browse the repository at this point in the history
  • Loading branch information
norseghost committed Sep 22, 2014
1 parent 03fbe78 commit 9128080
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions beancount-options.sublime-completions
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"scope": "source.beancount meta.directive.option.beancount support.variable.language.option.beancount",

"completions":
[
{ "trigger": "d", "contents": "documents" },
{ "trigger": "t", "contents": "title" },
{ "trigger": "cc", "contents": "conversion_currency" },
{ "trigger": "oc", "contents": "operating_currency" },
{ "trigger": "na", "contents": "name_assets" },
{ "trigger": "nl", "contents": "name_liabilities" },
{ "trigger": "neq", "contents": "name_equity" },
{ "trigger": "ni", "contents": "name_income" },
{ "trigger": "nex", "contents": "name_expenses" },
{ "trigger": "apb", "contents": "account_previous_balances" },
{ "trigger": "ape", "contents": "account_previous_earnings" },
{ "trigger": "apc", "contents": "account_previous_conversions" },
{ "trigger": "ace", "contents": "account_current_earnings" },
{ "trigger": "acc", "contents": "account_current_conversions" },
{ "trigger": "p", "contents": "plugin" },
]
}
22 changes: 22 additions & 0 deletions beancount.sublime-completions
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"scope": "source.beancount meta.directive.option.beancount support.variable.language.option.beancount",

"completions":
[
{ "trigger": "d", "contents": "documents" },
{ "trigger": "t", "contents": "title" },
{ "trigger": "cc", "contents": "conversion_currency" },
{ "trigger": "oc", "contents": "operating_currency" },
{ "trigger": "na", "contents": "name_assets" },
{ "trigger": "nl", "contents": "name_liabilities" },
{ "trigger": "neq", "contents": "name_equity" },
{ "trigger": "ni", "contents": "name_income" },
{ "trigger": "nex", "contents": "name_expenses" },
{ "trigger": "apb", "contents": "account_previous_balances" },
{ "trigger": "ape", "contents": "account_previous_earnings" },
{ "trigger": "apc", "contents": "account_previous_conversions" },
{ "trigger": "ace", "contents": "account_current_earnings" },
{ "trigger": "acc", "contents": "account_current_conversions" },
{ "trigger": "p", "contents": "plugin" },
]
}

0 comments on commit 9128080

Please sign in to comment.