aboutsummaryrefslogtreecommitdiff
path: root/modules/cpp/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-06-12 15:12:40 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-06-12 15:12:40 -0400
commit8f39176328e6e8610a338d014c1893fbd7edf2c0 (patch)
tree972505612d0443d992a62c6c726dd3c5a2fc5997 /modules/cpp/init.lua
parent76bf447b66be5ffe6db007b7d97a0e9687d96e40 (diff)
downloadtextadept-8f39176328e6e8610a338d014c1893fbd7edf2c0.tar.gz
textadept-8f39176328e6e8610a338d014c1893fbd7edf2c0.zip
`_M.textadept.editing.block_comment()` supports block comment delimiters.
Also integrated comment strings into `_M.textadept.editing.comment_string` so block commenting works out of the box.
Diffstat (limited to 'modules/cpp/init.lua')
-rw-r--r--modules/cpp/init.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/cpp/init.lua b/modules/cpp/init.lua
index 0e328838..646ca218 100644
--- a/modules/cpp/init.lua
+++ b/modules/cpp/init.lua
@@ -23,9 +23,6 @@ local M = {}
-- from *`_USERHOME`/modules/cpp/api*.
module('_M.cpp')]]
--- Comment string tables use lexer names.
-_M.textadept.editing.comment_string.cpp = '//'
-
-- Compile and Run command tables use file extensions.
_M.textadept.run.compile_command.c =
'gcc -pedantic -Os -o "%(filename_noext)" %(filename)'