feat(neovim): enable modeline support to be able to modify per-file settings
This commit is contained in:
parent
e4aaf2dbba
commit
f26b22da86
1 changed files with 13 additions and 1 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
|
# vim: tabstop=2 shiftwidth=2 expandtab
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
|
@ -18,6 +18,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
vimAlias = true;
|
||||||
|
viAlias = true;
|
||||||
|
configure = {
|
||||||
|
customRC = ''
|
||||||
|
set modeline
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
networking.hostName = "quasar";
|
networking.hostName = "quasar";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue