mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +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({
|
||||
pattern = {
|
||||
['.env.*'] = 'dotenv',
|
||||
},
|
||||
['%.env'] = 'dotenv',
|
||||
['%.env%..+'] = 'dotenv',
|
||||
}
|
||||
})
|
||||
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue