mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-16 01:54:56 +02:00
Fix lua pattern matching by escaping the dot
This commit is contained in:
parent
3d4755e851
commit
dc88c758ca
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ config = function(_, opts)
|
||||||
-- Associate .env files as "dotenv"
|
-- Associate .env files as "dotenv"
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
pattern = {
|
pattern = {
|
||||||
['.env.*'] = 'dotenv',
|
['%.env.*'] = 'dotenv',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue