From 2906d48260387591aea2d97bf62726741b3d9509 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Tue, 3 May 2022 16:21:33 +0200 Subject: [PATCH] =?UTF-8?q?Enable=20syntax=20highlighting=20=E2=9C=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 09b0b63..61409ce 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -8,6 +8,8 @@ :set encoding=UTF-8 :set clipboard+=unnamedplus " Allow nvim to copy/paste from/to the clipboard" +syntax on " Enable syntax highlighting + " Install vim-plug if not already installed if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"')) echo "Downloading junegunn/vim-plug to manage plugins..."