1

Neovim: Update indent settings

This commit is contained in:
2024-12-15 18:54:33 +01:00
parent d6c6eba3b5
commit d0e65a00aa

View File

@ -50,10 +50,10 @@ _: {
grepformat = "%f:%l:%c:%m"; grepformat = "%f:%l:%c:%m";
# Indentation # Indentation
autoindent = false; # Use previous line indentation level - Might mess up comment indentation autoindent = true; # Use previous line indentation level - Might mess up comment indentation
smartindent = false; # Like autoindent but recognizes some C syntax - Might mess up comment indentation smartindent = true; # Like autoindent but recognizes some C syntax - Might mess up comment indentation
cindent = true; cindent = false;
cinkeys = "0{,0},0),0],:,!^F,o,O,e"; # Fix comment (#) indentation and intellitab (somehow) # cinkeys = "0{,0},0),0],:,!^F,o,O,e"; # Fix comment (#) indentation and intellitab (somehow)
smarttab = true; smarttab = true;
expandtab = true; expandtab = true;
shiftwidth = 4; shiftwidth = 4;