Skip to content

Commit

Permalink
fix: handle ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
narajaon committed Feb 26, 2024
1 parent e567f92 commit 32d920a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/autocmd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter", "FocusGained" }, {
group = autocmdId,
})

vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
pattern = "*.ejs",
command = "set filetype=html | set tabstop=2",
group = autocmdId,
})

vim.api.nvim_create_autocmd({ "VimLeave" }, {
pattern = "*",
command = "OneStatusClean",
Expand Down

0 comments on commit 32d920a

Please sign in to comment.