Enable syntax highlighting ✏

This commit is contained in:
Anas Elgarhy 2022-05-03 16:21:33 +02:00
parent 07306e2a18
commit 2906d48260

View file

@ -8,6 +8,8 @@
:set encoding=UTF-8 :set encoding=UTF-8
:set clipboard+=unnamedplus " Allow nvim to copy/paste from/to the clipboard" :set clipboard+=unnamedplus " Allow nvim to copy/paste from/to the clipboard"
syntax on " Enable syntax highlighting
" Install vim-plug if not already installed " Install vim-plug if not already installed
if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"')) if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"'))
echo "Downloading junegunn/vim-plug to manage plugins..." echo "Downloading junegunn/vim-plug to manage plugins..."