Skip to content

Commit 04ae689

Browse files
committed
nvim: support highlighting an html templating engine called eta
1 parent 5920cc3 commit 04ae689

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versioning is done in a continuous fashion without worries of breaking changes.
66

77
## patches
88

9+
- `nvim`: support highlighting an html templating engine called eta 2026-02-07
910
- `zsh`: alias zips to worktrees matching alphabetic alias creation 2026-02-07
1011
- `nvim`: remove black linting and formatting to replace with ruffs 2026-02-07
1112
- `github-runners`: return rsync for updating a mirror of slack app 2026-02-06
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
vim.api.nvim_create_autocmd({
2+
"BufRead",
3+
"BufNewFile",
4+
}, {
5+
pattern = "*.eta",
6+
callback = function()
7+
vim.cmd.set("filetype=html")
8+
end,
9+
})

programs/neovim/config/lua/user/files/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require("user.files.c")
22
require("user.files.ecmascript")
3+
require("user.files.eta")
34
require("user.files.go")
45
require("user.files.groovy")
56
require("user.files.mdx")

0 commit comments

Comments
 (0)