mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-24 13:31:04 +00:00
Support rabl files
This commit is contained in:
parent
a00d77f3d8
commit
e1f5cf8969
1 changed files with 7 additions and 0 deletions
|
|
@ -27,3 +27,10 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
|
pattern = "*.rabl",
|
||||||
|
callback = function()
|
||||||
|
vim.bo.filetype = "ruby"
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue