[gedit-plugins] codecomment: Prefer block comments for C header files



commit 9e71a7ff3214aaca2b7b9abe1555d7ccd0546f8e
Author: Garrett Regier <garrettregier gmail com>
Date:   Thu Oct 1 04:11:40 2015 -0700

    codecomment: Prefer block comments for C header files

 plugins/codecomment/codecomment.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/codecomment/codecomment.py b/plugins/codecomment/codecomment.py
index 24a2cba..f41b58a 100644
--- a/plugins/codecomment/codecomment.py
+++ b/plugins/codecomment/codecomment.py
@@ -37,7 +37,7 @@ except:
 # If the language is listed here we prefer block comments over line comments.
 # Maybe this list should be user configurable, but just C comes to my mind...
 block_comment_languages = [
-    'c',
+    'c', 'chdr'
 ]
 
 class CodeCommentAppActivatable(GObject.Object, Gedit.AppActivatable):


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