8 lines
199 B
Lua
8 lines
199 B
Lua
|
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
||
|
group = vim.api.nvim_create_augroup("Detect hkf", {}),
|
||
|
pattern = "*.hkf",
|
||
|
callback = function()
|
||
|
vim.opt.filetype = "hkf"
|
||
|
end
|
||
|
})
|