tests/plugins: refactor (#235)

This commit is contained in:
Gaétan Lepage 2023-03-22 07:42:02 +01:00 committed by GitHub
parent 89f54be73a
commit db5061b4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 485 additions and 744 deletions

View file

@ -0,0 +1,15 @@
{
example = {
autoCmd = [
{
event = ["BufEnter" "BufWinEnter"];
pattern = ["*.c" "*.h"];
callback = {__raw = "function() print('This buffer enters') end";};
}
{
event = "InsertEnter";
command = "norm zz";
}
];
};
}

View file

@ -0,0 +1,8 @@
{
example = {
options.termguicolors = true;
highlight = {
Normal.fg = "#ff0000";
};
};
}

View file

@ -0,0 +1,5 @@
{
example = {
maps.normal."," = "<cmd>echo \"test\"<cr>";
};
}