From d0e65a00aa170f0d05debc2acc3915d2970d6ed5 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 15 Dec 2024 18:54:33 +0100 Subject: [PATCH] Neovim: Update indent settings --- home/modules/neovim/vim_opts.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/modules/neovim/vim_opts.nix b/home/modules/neovim/vim_opts.nix index 695cee62..2575de66 100644 --- a/home/modules/neovim/vim_opts.nix +++ b/home/modules/neovim/vim_opts.nix @@ -50,10 +50,10 @@ _: { grepformat = "%f:%l:%c:%m"; # Indentation - autoindent = false; # Use previous line indentation level - Might mess up comment indentation - smartindent = false; # Like autoindent but recognizes some C syntax - Might mess up comment indentation - cindent = true; - cinkeys = "0{,0},0),0],:,!^F,o,O,e"; # Fix comment (#) indentation and intellitab (somehow) + autoindent = true; # Use previous line indentation level - Might mess up comment indentation + smartindent = true; # Like autoindent but recognizes some C syntax - Might mess up comment indentation + cindent = false; + # cinkeys = "0{,0},0),0],:,!^F,o,O,e"; # Fix comment (#) indentation and intellitab (somehow) smarttab = true; expandtab = true; shiftwidth = 4;