mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
17
example.nix
17
example.nix
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.nixvim = {
|
||||
# This just enables NixVim.
|
||||
# If all you have is this, then there will be little visible difference
|
||||
|
@ -60,8 +61,16 @@
|
|||
# This is one of lightline's example configurations
|
||||
active = {
|
||||
left = [
|
||||
["mode" "paste"]
|
||||
["readonly" "filename" "modified" "helloworld"]
|
||||
[
|
||||
"mode"
|
||||
"paste"
|
||||
]
|
||||
[
|
||||
"readonly"
|
||||
"filename"
|
||||
"modified"
|
||||
"helloworld"
|
||||
]
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -80,6 +89,6 @@
|
|||
|
||||
# What about plugins not available as a module?
|
||||
# Use extraPlugins:
|
||||
extraPlugins = with pkgs.vimPlugins; [vim-toml];
|
||||
extraPlugins = with pkgs.vimPlugins; [ vim-toml ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue