summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-12 23:43:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-12 23:43:49 +0200
commit21d52ed6313657ab9a38a8f21d9eb91892e2fb84 (patch)
tree4c57d29461bb5c2cdddf6c67c57e0145a475c234
parent01c7eedf4bb6de8a682936e8584f9beba61a1656 (diff)
downloaddotfiles-21d52ed6313657ab9a38a8f21d9eb91892e2fb84.tar.gz
dotfiles-21d52ed6313657ab9a38a8f21d9eb91892e2fb84.tar.bz2
dotfiles-21d52ed6313657ab9a38a8f21d9eb91892e2fb84.zip
[vim] Syntax coloring by default, if supported
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 55ba590..19a165f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -11,6 +11,10 @@ if &t_Co <= 8
else
colorscheme Mustang
endif
+" syntax coloring when supporting terminal
+if &t_Co > 2
+ syntax on
+endif
" More general stuff
set nu