diff --git a/src/vim.py b/src/vim.py index cf6381f..185ac17 100644 --- a/src/vim.py +++ b/src/vim.py @@ -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