1
0
Fork 0
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:
LZDQ 2025-08-31 19:42:58 +08:00
parent 3d4755e851
commit dc88c758ca

View file

@ -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