mirror of
https://github.com/pnx/dotfiles
synced 2026-07-03 23:13:39 +02:00
nvim/lua/user/plugins/editor/treesitter.lua: update dotenv file pattern
This commit is contained in:
parent
f5a41a9680
commit
d6c427f66a
1 changed files with 3 additions and 2 deletions
|
|
@ -66,8 +66,9 @@ return {
|
||||||
|
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
pattern = {
|
pattern = {
|
||||||
['.env.*'] = 'dotenv',
|
['%.env'] = 'dotenv',
|
||||||
},
|
['%.env%..+'] = 'dotenv',
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue