Open Caelagor opened 4 years ago
@Caelagor thanks for the suggestion. I went through the vscode documentation and could not find a way to support this at the moment.
I opened an issue on their repo, as soon as that feature is supported I will implement it.
Could this be supported through https://github.com/ctlajoie/vscode-modelines if this extension adds an apparmor
language code too?
With the modelines extension, # vim:syntax=aa
did work for me, but not yet # vim:syntax=apparmor
.
Example found on Ubuntu 19.10
head /etc/apparmor.d/abstractions/ubuntu-browsers.d/user-files
Reacting to these comments would add some convenience (when often viewing AppArmor profiles), because currently one has to press {Ctrl} + {K}, {M} type 'aa' and press {Enter} to set the language to AppArmor.