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:
parent
7582204c82
commit
18c236a710
@ -40,7 +40,9 @@ def install():
|
|||||||
if not os.access(VIM+"/syntax",os.F_OK):
|
if not os.access(VIM+"/syntax",os.F_OK):
|
||||||
os.mkdir(VIM+"/syntax")
|
os.mkdir(VIM+"/syntax")
|
||||||
wd = os.path.abspath(os.path.dirname(__file__))
|
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:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user