aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/plugins/filetype.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 2ea5a06..18767ec 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -96,7 +96,8 @@ vis.ftdetect.filetypes = {
ext = { "%.desktop$" },
},
diff = {
- ext = { "%.diff$", "%.patch$", "%.rej$" },
+ ext = { "%.diff$", "%.patch$", "%.rej$", "^COMMIT_EDITMSG$" },
+ cmd = { "set colorcolumn 72" },
},
dmd = {
ext = { "%.d$", "%.di$" },
@@ -159,10 +160,6 @@ vis.ftdetect.filetypes = {
gherkin = {
ext = { "%.feature$" },
},
- ['git-commit'] = {
- ext = { "^COMMIT_EDITMSG$" },
- cmd = { "set colorcolumn 72" },
- },
['git-rebase'] = {
ext = { "git%-rebase%-todo" },
},