<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>Vim</anon>
  </categories>
  <description>ファイルの種類によって Vim の設定を変えたい 例えば、タブ幅を Ruby の場合は 2、C# の場合は 4 にするには、言語専用の設定ファイル(？)を作成すればいいです。 ファイルの書式は _vimrc と同じ 先の例にある「Ruby のタブ幅を 2 にしたい」場合は set tabstop=2 set softtabstop=2 set shiftwidth=2 と書けばいいです。 ファイル名に注意！ Ruby の場合は ruby.vim、C# の場合は cs.vim になります。Vim のインストールフォルダ内に ftplugin フォルダがあるので、そのフォルダ内にあるファイルと同じ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F20090503%2F1241310300&quot; title=&quot;Vim でファイルの種類に応じて設定を変更する - present&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>2009-05-03 09:25:00</published>
  <title>Vim でファイルの種類に応じて設定を変更する</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/20090503/1241310300</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
