mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
fix(tags): spaces after brackets (closes #142)
Signed-off-by: Thomas Lambert <tlambert@tlambert.be>
This commit is contained in:
committed by
Thomas Lambert
parent
0180e38eab
commit
a4dd1690a0
@@ -5,7 +5,7 @@ local hashtag_re =
|
||||
"(^|\\s|'|\")((?!(#[a-fA-F0-9]{3})(\\W|$)|(#[a-fA-F0-9]{6})(\\W|$))#[a-zA-ZÀ-ÿ]+[a-zA-ZÀ-ÿ0-9/\\-_]*)"
|
||||
local colon_re = "(^|\\s):[a-zA-ZÀ-ÿ]+[a-zA-ZÀ-ÿ0-9/\\-_]*:"
|
||||
local yaml_re =
|
||||
"(^|\\s)tags:\\s*\\[([a-zA-ZÀ-ÿ]+[a-zA-ZÀ-ÿ0-9/\\-_]*(,\\s)*)*]"
|
||||
"(^|\\s)tags:\\s*\\[\\s*([a-zA-ZÀ-ÿ]+[a-zA-ZÀ-ÿ0-9/\\-_]*(,\\s)*)*\\s*]"
|
||||
|
||||
local function command_find_all_tags(opts)
|
||||
opts = opts or {}
|
||||
|
||||
Reference in New Issue
Block a user