diff options
Diffstat (limited to 'mpd-currentsong.js')
-rw-r--r-- | mpd-currentsong.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mpd-currentsong.js b/mpd-currentsong.js index 983d9ef..829ff1e 100644 --- a/mpd-currentsong.js +++ b/mpd-currentsong.js @@ -33,8 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ // INFO {{{ -let INFO = -<> +let INFO = xml` <plugin name="MPDCurrentSong" version="1.0.0" href="http://vimpr.github.com/" summary="Get current song for MPD" @@ -45,7 +44,7 @@ let INFO = <project name="Vimperator" minVersion="3.0"/> <p> <code><![CDATA[ -:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) <>{song.Title} / {song.Artist} #NowPlaying</> +:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) `{song.Title} / {song.Artist} #NowPlaying` ]]> </code> </p> </plugin> @@ -59,11 +58,11 @@ let INFO = <project name="Vimperator" minVersion="3.0"/> <p> <code><![CDATA[ -:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) <>{song.Title} / {song.Artist} #NowPlaying</> +:cabbrev -javascript .song let (song = plugins.mpdCurrentsong.API.getSongInfo()) `{song.Title} / {song.Artist} #NowPlaying` ]]> </code> </p> </plugin> -</>; +`; // }}} |