1
0
Fork 0
mirror of synced 2024-11-15 21:48:57 -05:00
ultimate-vim/sources_non_forked/markdown-preview.nvim/app/index.js

9 lines
213 B
JavaScript
Raw Normal View History

2022-05-19 08:12:11 -04:00
// change cwd to ./app
if (!/^(\/|C:\\)snapshot/.test(__dirname)) {
process.chdir(__dirname)
} else {
process.chdir(process.execPath.replace(/(markdown-preview.nvim.*?app).+?$/, '$1'))
}
require('./lib/app')