1
0
Fork 0
mirror of https://github.com/ItsDrike/dotfiles.git synced 2025-02-19 10:09:03 +00:00
dotfiles/home/.config/lvim/ftdetect/apparmor.lua

12 lines
301 B
Lua
Raw Normal View History

2022-10-29 20:25:42 +02:00
local autocmd = vim.api.nvim_create_autocmd
autocmd({ "BufNewFile", "BufRead" }, {
pattern = { "/etc/apparmor.d/*" },
command = "setfiletype apparmor"
})
autocmd({ "BufNewFile", "BufRead" }, {
pattern = { "/usr/share/apparmor/extra-profiles/*" },
command = "setfiletype apparmor"
})