vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit a8b08cde55365da811d9b47c84968136147db0a9 parent 7a2e6a186ecae85af36b530ab0812ebf2271fd1f Author: Christian Hesse <mail@eworm.de> Date: Tue, 27 Mar 2018 09:23:37 +0200 Add .rej as a diff/patch file extension Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -96,7 +96,7 @@ vis.ftdetect.filetypes = { ext = { "%.desktop$" }, }, diff = { - ext = { "%.diff$", "%.patch$" }, + ext = { "%.diff$", "%.patch$", "%.rej$" }, }, dmd = { ext = { "%.d$", "%.di$" },