1
Fork 0
satellite/dotfiles/neovim/ftdetect/hkf.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
})