diff options
author | 2013-09-27 21:12:05 -0400 | |
---|---|---|
committer | 2013-09-27 21:12:05 -0400 | |
commit | ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06 (patch) | |
tree | 558d22791c4461fc5b765ce9ef57dd2273df73e0 /modules/cpp | |
parent | 235a3a04d8cf7f80823d59a8ff6ec77fbf8e61d5 (diff) | |
download | textadept-ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06.tar.gz textadept-ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06.zip |
Integrated compile and run commands for most languages.
Compile and run should work out of the box for most languages. Also added a
warning marker, renamed `compile_command` and `run_command` tables to
`compile_commands` and `run_commands`, respectively, and renamed `error_details`
to `error_patterns`, changing its structure to just hold patterns.
Diffstat (limited to 'modules/cpp')
-rw-r--r-- | modules/cpp/init.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/cpp/init.lua b/modules/cpp/init.lua index 95a7452c..f5809608 100644 --- a/modules/cpp/init.lua +++ b/modules/cpp/init.lua @@ -23,18 +23,6 @@ local M = {} -- from *`_USERHOME`/modules/cpp/api*. module('_M.cpp')]] --- Compile and Run command tables use file extensions. -textadept.run.compile_command.c = - 'gcc -pedantic -Os -o "%(filename_noext)" %(filename)' -textadept.run.compile_command.cpp = - 'g++ -pedantic -Os -o "%(filename_noext)" %(filename)' -textadept.run.run_command.c = '%(filedir)%(filename_noext)' -textadept.run.run_command.cpp = '%(filedir)%(filename_noext)' -textadept.run.error_detail.c = { - pattern = '^(.-):(%d+): (.+)$', - filename = 1, line = 2, message = 3 -} - -- Adeptsense. M.sense = textadept.adeptsense.new('cpp') |