mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
23 lines
371 B
Nix
23 lines
371 B
Nix
{
|
|
example = {
|
|
autoCmd = [
|
|
{
|
|
event = [
|
|
"BufEnter"
|
|
"BufWinEnter"
|
|
];
|
|
pattern = [
|
|
"*.c"
|
|
"*.h"
|
|
];
|
|
callback = {
|
|
__raw = "function() print('This buffer enters') end";
|
|
};
|
|
}
|
|
{
|
|
event = "InsertEnter";
|
|
command = "norm zz";
|
|
}
|
|
];
|
|
};
|
|
}
|