aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-03-14 11:10:00 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-02-10 10:04:46 +0100
commite5fd54902c4a53a5ae5fe49ad3b91c5c0d2c286f (patch)
tree34c5af97ccd6be9a12291608db6ad094f6440746 /lua/plugins
parent8ecc5915690112a2ea02ee3a9d4c30c017f6bb98 (diff)
downloadvis-e5fd54902c4a53a5ae5fe49ad3b91c5c0d2c286f.tar.gz
vis-e5fd54902c4a53a5ae5fe49ad3b91c5c0d2c286f.tar.xz
filetype: highlight column 72 in git commit messages
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/filetype.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index d19797b..a15b5c5 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -152,6 +152,10 @@ vis.ftdetect.filetypes = {
gherkin = {
ext = { "%.feature$" },
},
+ ['git-commit'] = {
+ ext = { "^COMMIT_EDITMSG$" },
+ cmd = { "set colorcolumn 72" },
+ },
glsl = {
ext = { "%.glslf$", "%.glslv$" },
},