10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-11-08 15:13:42 +01:00

Copy irpf90.vim instead of symlink

This commit is contained in:
Anthony Scemama 2018-11-28 10:17:26 +01:00
parent 7582204c82
commit 18c236a710

View File

@ -40,7 +40,9 @@ def install():
if not os.access(VIM+"/syntax",os.F_OK):
os.mkdir(VIM+"/syntax")
wd = os.path.abspath(os.path.dirname(__file__))
os.symlink(wd+"/irpf90.vim",VIM+"/syntax/irpf90.vim")
with open(wd+"/irpf90.vim",'r') as f_in:
with open(VIM+"/syntax/irpf90.vim",'w') as f_out:
f_out.write( f_in.read() )
except:
pass