mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 17:24:32 +02:00
modules/files: improve extraFiles
example
This commit is contained in:
parent
6b56adb71a
commit
8c5257088b
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
''';
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue