Skip to content

Commit f28d191

Browse files
committed
add context trigger regex as constant to utils
1 parent 8382192 commit f28d191

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/eca/utils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ local M = {}
77
local CONSTANTS = {
88
SIDEBAR_FILETYPE = "Eca",
99
SIDEBAR_BUFFER_NAME = "__ECA__",
10+
CONTEXT_TRIGGER_REGEX = "[@#]([%w%./_\\%-~]*)",
1011
}
1112

1213
---@param bufnr integer

0 commit comments

Comments
 (0)