From: Stefan Huber Date: Sat, 21 Mar 2020 14:51:47 +0000 (+0100) Subject: init: Disable devicons on term 'linux' X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=205d3d76bfc9b7b755a87327442d72cc6d70cdea;p=vimconf.git init: Disable devicons on term 'linux' --- diff --git a/init.vim b/init.vim index 20d9cb6..be243ee 100644 --- a/init.vim +++ b/init.vim @@ -45,8 +45,13 @@ syntax on """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Some global plugin settings -" Enable loading of devicons -let g:enable_plugin_devicons = 1 +" Disable devicons on linux terminal +if !has("terminfo") || &term == 'linux' + let g:enable_plugin_devicons=0 +" Enable loading of devicons on all others +else + let g:enable_plugin_devicons=1 +endif runtime plugsetup.vim