This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]