aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/cpp/init.lua
blob: 538d5c709ab93cb1a2e549d41880642d61a80818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.

---
-- The cpp module.
-- It provides utilities for editing C/C++ code.
module('_m.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_')