chamindra / marvim

MARVIM - MAcro Repository for VIM "Give your most complex macros a name and store it for future recall and use"
GNU General Public License v2.0
34 stars 8 forks source link

g:marvim_store does not work for absolute paths #13

Closed chamindra closed 4 years ago

chamindra commented 5 years ago

Tested the marvim_store location with a few different locations i.e. let g:marvim_store = '/usr/local/.marvim' " change store place. It works for the default ~/.mavim and if you just give a name like 'marvim.kb', but relative paths from home and absolute paths do not seem to work anymore. This is a known defect that needs to be fixed

omrisarig13 commented 5 years ago

@chamindra - There was indeed a bug when expanding paths containing the '~' character. The path was not expanded, so the path turn to be wrong. I created a branch that fixes this issue, it is called "fix_store_path_bug".

However, I could not reproduce the bug about absolute paths. When I save absolute path in the path of g:marvim_store, it works on my setup. Can you be more specific about when exactly it happens?