diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-13 13:06:06 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-13 13:06:06 +0800 |
commit | 044ccc901df77f1bcc41a7d177f208ad641c38af (patch) | |
tree | c1d0e1122003f4db47d302d819e6da132bfc8ba7 | |
parent | 1f9f2c884f9d2fb77ad856b70b15d9dd524d1ba7 (diff) | |
download | nixos-configuration-044ccc901df77f1bcc41a7d177f208ad641c38af.tar.gz nixos-configuration-044ccc901df77f1bcc41a7d177f208ad641c38af.tar.bz2 nixos-configuration-044ccc901df77f1bcc41a7d177f208ad641c38af.zip |
feat: enable configuration for new nixvim plugin virt-column
virt-column allows certain coding practices to be applied, such as 80
character spacing which is specified by Linus Torvalds
-rw-r--r-- | home-manager/stvnliu/nixvim/default.nix | 1 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/virt-column.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/home-manager/stvnliu/nixvim/default.nix b/home-manager/stvnliu/nixvim/default.nix index c13dbb9..3f74c26 100644 --- a/home-manager/stvnliu/nixvim/default.nix +++ b/home-manager/stvnliu/nixvim/default.nix @@ -22,6 +22,7 @@ ./trouble.nix ./which_key.nix ./wilder.nix + ./virt-column.nix ]; enable = true; defaultEditor = true; diff --git a/home-manager/stvnliu/nixvim/virt-column.nix b/home-manager/stvnliu/nixvim/virt-column.nix new file mode 100644 index 0000000..0daf880 --- /dev/null +++ b/home-manager/stvnliu/nixvim/virt-column.nix @@ -0,0 +1,7 @@ +{ + plugins.virt-column = { + enable = true; + settings.char = ["┃"]; + settings.virtcolumn = "80"; + }; +} |