aboutsummaryrefslogtreecommitdiff
path: root/modules/cpp/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-06 05:05:07 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-06 05:05:07 -0400
commit9f18f8ab9acce36399aa34c1f11c966b792f3d2f (patch)
tree634db329c4d1dac1549c516557a22b6c2002e133 /modules/cpp/init.lua
parent1bf5960dfe20d6750c5d45f738f85aba323762cd (diff)
downloadtextadept-9f18f8ab9acce36399aa34c1f11c966b792f3d2f.tar.gz
textadept-9f18f8ab9acce36399aa34c1f11c966b792f3d2f.zip
Initial import of the cpp module.
Diffstat (limited to 'modules/cpp/init.lua')
-rw-r--r--modules/cpp/init.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/cpp/init.lua b/modules/cpp/init.lua
new file mode 100644
index 00000000..22ccf21d
--- /dev/null
+++ b/modules/cpp/init.lua
@@ -0,0 +1,31 @@
+-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE.
+
+---
+-- The cpp module.
+-- It provides utilities for editing C/C++ code.
+module('modules.cpp', package.seeall)
+
+if type(_G.snippets) == 'table' then
+---
+-- Container for C/C++-specific snippets.
+-- @class table
+-- @name snippets.cpp
+ _G.snippets.cpp = {}
+end
+
+if type(_G.keys) == 'table' then
+---
+-- Container for C/C++-specific key commands.
+-- @class table
+-- @name keys.cpp
+ _G.keys.cpp = {}
+end
+
+require 'cpp.commands'
+require 'cpp.snippets'
+
+function set_buffer_properties()
+
+end
+
+api = textadept.io.read_api_file(_HOME..'/modules/cpp/api', '%w_')