modules/files: improve extraFiles example

This commit is contained in:
n0099 2025-07-08 05:37:42 +08:00 committed by Matt Sturgeon
parent 6b56adb71a
commit 8c5257088b

View file

@ -102,10 +102,10 @@ in
default = { };
example = lib.literalExpression ''
{
"ftplugin/nix.lua".text = '''
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
"after/ftplugin/nix.lua".text = '''
vim.opt_local.tabstop = 2
vim.opt_local.shiftwidth = 2
vim.opt_local.expandtab = true
''';
}
'';