This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Add .pd extension to c_exts.
- From: Martin Liška <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Biener <richard dot guenther at gmail dot com>
- Date: Fri, 30 Aug 2019 12:58:54 +0200
- Subject: [PATCH] Add .pd extension to c_exts.
Hi.
I would like to add .pd to c_exts so that one
can have correctly set tab width, etc.
Ready for trunk?
Thanks,
Martin
contrib/ChangeLog:
2019-08-30 Martin Liska <mliska@suse.cz>
* vimrc: Add .pd extension.
---
contrib/vimrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/vimrc b/contrib/vimrc
index 7c0c5878c63..a9ec46bf52f 100644
--- a/contrib/vimrc
+++ b/contrib/vimrc
@@ -32,7 +32,7 @@ function! SetStyle()
return
endif
let l:ext = fnamemodify(l:fname, ":e")
- let l:c_exts = ['c', 'h', 'cpp', 'cc', 'C', 'H', 'def', 'java']
+ let l:c_exts = ['c', 'h', 'cpp', 'cc', 'C', 'H', 'def', 'java', 'pd']
if index(l:c_exts, l:ext) != -1
setlocal cindent
setlocal tabstop=8