In your init.vim, try and do this:
call plug#begin()
...
Plug 'epwalsh/obsidian.nvim'
...
call plug#end()
" Call here your setup codecode
:lua require("obsidian").setup {}
Mind that : before lua require, and write that require function after you call plug#end(). Solved similar problem for me