flake

Francesco Saccone's Nix flake.
git clone https://git.francescosaccone.com/flake
Log | Files | Refs | README | LICENSE

commit 69a898239bbdee060a8dbe2b610465b5bd0a10f3
parent 7da720d81c37df5af690773f5de3bcc7d0017beb
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Sat, 17 May 2025 17:51:24 +0200

feat: set 'expandtab on' and 'tabwidth 2'

As of now, I spend 90% of my coding time in this flake repository,
and Nix does not support tabs at all. I hope the Nix language
will, in the future, be more agnostic and let people switch to
tabs again, as they are obviously superior.

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
Mmodules/home-manager/vis/visrc.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/home-manager/vis/visrc.lua b/modules/home-manager/vis/visrc.lua @@ -3,9 +3,9 @@ require('vis') vis.events.subscribe(vis.events.WIN_OPEN, function(win) vis:command('set autoindent on') vis:command('set colorcolumn 80') - vis:command('set expandtab off') + vis:command('set expandtab on') vis:command('set number') vis:command('set show-spaces on') vis:command('set show-tabs on') - vis:command('set tabwidth 8') + vis:command('set tabwidth 2') end)