mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-16 01:54:56 +02:00
README.md: Update nvim filetype pattern.
This commit is contained in:
parent
43a08ed422
commit
228d3d070b
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ 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',
|
||||||
|
['%.env%..+'] = 'dotenv',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue