mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-30 14:34:34 +00:00
12 lines
301 B
Lua
12 lines
301 B
Lua
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"
|
|
})
|