lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] odd/multiarch d322f2c 1/5: Make vim "setf make" for


From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/multiarch d322f2c 1/5: Make vim "setf make" for '*.make'
Date: Wed, 1 May 2019 17:30:50 -0400 (EDT)

branch: odd/multiarch
commit d322f2cecb3d39aece44949ee673f9597c66d884
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Make vim "setf make" for '*.make'
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2019-04/msg00046.html
---
 gwc/.vimrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gwc/.vimrc b/gwc/.vimrc
index d8bc426..8adec87 100644
--- a/gwc/.vimrc
+++ b/gwc/.vimrc
@@ -33,6 +33,9 @@ set scrolloff=1
 set cindent
 set cinoptions=t0\ g0\ {s\ (0\ U1 comments^=:///
 
+" By default, vim detects '*.mak' as type make, but not '*.make'
+au BufNewFile,BufRead *.make setf make
+
 au BufReadPost,BufNewFile *.tpp set ft=cpp
 au BufReadPost,BufNewFile *.xpp set ft=cpp
 " au BufReadPost,BufNewFile *.?pp set ft=cpp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]