summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html')
-rw-r--r--vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index 1d1d97fe..5c6e386a 100644
--- a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -173,9 +173,7 @@
</p>
<ul>
<li>
- <p>
- <code>BufAdd</code>/<code>BufCreate</code>
- </p>
+ <code>BufAdd</code>/<code>BufCreate</code>
<ul>
<li>
→ <code>BufCreate</code> は歴史的な理由により (“for historic reasons”) 存在しているため、新しい方 (<code>BufAdd</code>) を使う
@@ -183,9 +181,7 @@
</ul>
</li>
<li>
- <p>
- <code>BufRead</code>/<code>BufReadPost</code>
- </p>
+ <code>BufRead</code>/<code>BufReadPost</code>
<ul>
<li>
→ <code>BufReadPre</code> との対称性のため、あるいは <code>BufWritePost</code> との対称性のため <code>BufReadPost</code> を使う
@@ -193,9 +189,7 @@
</ul>
</li>
<li>
- <p>
- <code>BufWrite</code>/<code>BufWritePre</code>
- </p>
+ <code>BufWrite</code>/<code>BufWritePre</code>
<ul>
<li>
→ <code>BufWritePost</code> との対称性のため、あるいは <code>BufReadPre</code> との対称性のため <code>BufWritePre</code> を使う
@@ -203,9 +197,7 @@
</ul>
</li>
<li>
- <p>
- <code>FileEncoding</code>/<code>EncodingChanged</code>
- </p>
+ <code>FileEncoding</code>/<code>EncodingChanged</code>
<ul>
<li>
→ <code>FileEncoding</code> は “Obsolete” と明言されているので、<code>EncodingChanged</code> を使う