Beancount syntax highlighting (#7389)
Release Notes: - Added syntax highlighting for [Beancount](https://beancount.github.io)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
name = "Beancount"
|
||||
path_suffixes = ["beancount"]
|
||||
brackets = [{ start = "\"", end = "\"", close = false, newline = false }]
|
||||
@@ -0,0 +1,21 @@
|
||||
(comment) @comment
|
||||
(headline) @comment
|
||||
[
|
||||
(payee)
|
||||
(narration)
|
||||
(string)
|
||||
] @string
|
||||
|
||||
(number) @number
|
||||
(date) @function
|
||||
(currency) @constant
|
||||
(account) @identifier
|
||||
|
||||
[
|
||||
(option)
|
||||
(include)
|
||||
(open)
|
||||
(balance)
|
||||
(pad)
|
||||
(close)
|
||||
] @keyword
|
||||
Reference in New Issue
Block a user