File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ local tags = {
34
34
}
35
35
36
36
local filetags = {
37
- line_rgx = vim .regex ([[ ^\#+FILETAGS:\s\+]] ),
37
+ line_rgx = vim .regex ([[ \c ^\#+FILETAGS:\s\+]] ),
38
38
rgx = vim .regex ([[ :\([0-9A-Za-z_%@\#]*\)$]] ),
39
39
fetcher = function ()
40
40
return vim .tbl_map (function (tag )
Original file line number Diff line number Diff line change 129
129
--- @param content Content
130
130
--- @return string
131
131
function Root :process_root_content (content )
132
- if content :is_keyword () and content .keyword .name == ' FILETAGS' then
132
+ if content :is_keyword () and content .keyword .name : upper () == ' FILETAGS' then
133
133
local filetags = utils .parse_tags_string (content .keyword .value )
134
134
for _ , tag in ipairs (filetags ) do
135
135
if not vim .tbl_contains (self .tags , tag ) then
279
279
280
280
function Root :get_archive_file_location ()
281
281
for _ , content in ipairs (self .content ) do
282
- if content :is_keyword () and content .keyword .name == ' ARCHIVE' then
282
+ if content :is_keyword () and content .keyword .name : upper () == ' ARCHIVE' then
283
283
return Config :parse_archive_location (self .file , content .keyword .value )
284
284
end
285
285
end
You can’t perform that action at this time.
0 commit comments