From 77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 17 Mar 2023 01:56:28 +0900 Subject: fix(content): fix XML notations --- ...ce-between-autocmd-bufwrite-and-bufwritepre.xml | 40 ++++++---------------- 1 file changed, 11 insertions(+), 29 deletions(-) (limited to 'content/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.xml') diff --git a/content/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.xml b/content/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.xml index ed7f03f..dc3843b 100644 --- a/content/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.xml +++ b/content/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.xml @@ -28,15 +28,9 @@ :help に説明があるが、この記事のタイトルにある2つを含めた以下のイベントには、その違いについて説明がない。 - - BufRead/BufReadPost - - - BufWrite/BufWritePre - - - BufAdd/BufCreate - + BufRead/BufReadPost + BufWrite/BufWritePre + BufAdd/BufCreate このうち、BufAdd/BufCreate に関しては、:help BufCreate
@@ -90,39 +84,27 @@ to |EncodingChanged|. 記事タイトルについて言えば、どちらも変わらないので好きな方を使えばよい。あえて言えば、次のようになるだろう。 - BufAdd/BufCreate + BufAdd/BufCreate - - BufCreate は歴史的な理由により (`for historic reasons'') - 存在しているため、新しい方 (`BufAdd) を使う - + BufCreate は歴史的な理由により ("for historic reasons") 存在しているため、新しい方 (BufAdd) を使う - BufRead/BufReadPost + BufRead/BufReadPost - - BufReadPre との対称性のため、あるいは BufWritePost - との対称性のため BufReadPost を使う - + BufReadPre との対称性のため、あるいは BufWritePost との対称性のため BufReadPost を使う - BufWrite/BufWritePre + BufWrite/BufWritePre - - BufWritePost との対称性のため、あるいは BufReadPre - との対称性のため BufWritePre を使う - + BufWritePost との対称性のため、あるいは BufReadPre との対称性のため BufWritePre を使う - FileEncoding/EncodingChanged + FileEncoding/EncodingChanged - - FileEncoding`Obsolete'' - と明言されているので、`EncodingChanged を使う - + FileEncoding`Obsolete'' と明言されているので、`EncodingChanged を使う -- cgit v1.2.3-70-g09d2