<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
    <anon>Neovim</anon>
  </categories>
  <description>(vim + mini.comment 編と書いたが、別に他パターンを書く予定はない) 割と手間取ったのでメモとして残しておきます。他の人の参考にもなりそうなので 結構無理やりな方法を取ったので、もっとスマートなやり方がありそうですが… ポイント: hooks.pre で filetype を切り替える + vue の commentstring を設定する こんな感じの基本方針のもと実装しました。 コメントアウト処理の直前に filetype をカーソル行のものに変更 コメントアウト処理が走る 処理が終わったらもとに戻す 以下がコードです (パッケージマネージャーは packer.nvim)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2023%2F05%2F31%2F192936&quot; title=&quot;vue の SFC 内でうまくコメントアウトプラグインを動かしたい vim + mini.comment 編 - Panda Noir&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-05-31 19:29:36</published>
  <title>vue の SFC 内でうまくコメントアウトプラグインを動かしたい vim + mini.comment 編</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2023/05/31/192936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
