mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 12:17:17 +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"
|
||
|
})
|