From d6f83d515c0b74bd0bf36a1b4ff290e11ad5ac03 Mon Sep 17 00:00:00 2001 From: Carlo Capocasa Date: Thu, 7 Nov 2019 23:19:53 +0100 Subject: [PATCH] fixes #50 --- plugin/supercollider.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/supercollider.vim b/plugin/supercollider.vim index 3f0a1c0..3f42bb8 100644 --- a/plugin/supercollider.vim +++ b/plugin/supercollider.vim @@ -15,7 +15,7 @@ au BufEnter,BufWinEnter,BufNewFile,BufRead *.schelp set filetype=scdoc au BufEnter,BufWinEnter,BufNewFile,BufRead *.schelp runtime syntax/scdoc.vim " set this via EXPORT ... if you want to change it -if exists($SCVIM_TAGFILE) +if exists("$SCVIM_TAGFILE") let s:sclangTagsFile = $SCVIM_TAGFILE else let s:sclangTagsFile = "~/.sctags"