diff options
author | 2007-08-06 05:05:07 -0400 | |
---|---|---|
committer | 2007-08-06 05:05:07 -0400 | |
commit | 9f18f8ab9acce36399aa34c1f11c966b792f3d2f (patch) | |
tree | 634db329c4d1dac1549c516557a22b6c2002e133 /modules/cpp/init.lua | |
parent | 1bf5960dfe20d6750c5d45f738f85aba323762cd (diff) | |
download | textadept-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.lua | 31 |
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_') |