about summary refs log tree commit diff stats
path: root/modules/by-name/nv
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-24 17:58:06 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-24 18:24:58 +0100
commit856516b33d53c23cf18b1acf66b78b94f042d295 (patch)
treec4bd32b322d49d45b5ed282607cca3f11bcd00a1 /modules/by-name/nv
parentfeat(modules/lf/ctpv): Correct configure (diff)
downloadnixos-config-856516b33d53c23cf18b1acf66b78b94f042d295.tar.gz
nixos-config-856516b33d53c23cf18b1acf66b78b94f042d295.zip
fix(modules/nvim/opts): Ensure a consistent fileformat
Thus, all dos files will magically change to Linux ones.
Diffstat (limited to 'modules/by-name/nv')
-rw-r--r--modules/by-name/nv/nvim/options/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/by-name/nv/nvim/options/default.nix b/modules/by-name/nv/nvim/options/default.nix
index e149553f..be475b13 100644
--- a/modules/by-name/nv/nvim/options/default.nix
+++ b/modules/by-name/nv/nvim/options/default.nix
@@ -62,6 +62,8 @@ in {
 
     mouse = ""; # disables the mouse
 
+    fileformat = "unix"; # Always use the unix line-endings
+
     number = true; # line numbers
     relativenumber = true; # relative line numbers