From ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 27 Sep 2013 21:12:05 -0400 Subject: 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. --- modules/cpp/init.lua | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'modules/cpp/init.lua') 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') -- cgit v1.2.3