mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-07-04 01:23:41 +02:00
Merge pull request #2 from LZDQ/fix/escape-dot
Fix lua pattern matching by escaping the dot
This commit is contained in:
commit
43a08ed422
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