From 446cc8dd9ce2d67ca9c1565dc1b3e0f42db514df Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 2 May 2022 23:55:46 +0000 Subject: [PATCH] vim config: enable syntax highlighting --- user-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user-configuration.nix b/user-configuration.nix index d4105fd3..0aaec745 100644 --- a/user-configuration.nix +++ b/user-configuration.nix @@ -57,6 +57,10 @@ set hlsearch " allow backspace to delete empty lines in insert mode set backspace=indent,eol,start + " built-in syntax highlighting + syntax enable + " show line/col number in bottom right + set ruler " highlight trailing space & related syntax errors (does this work?) let c_space_errors=1 let python_space_errors=1