mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 01:46:31 +10:00
test/formatc: improve standalone usage
Easier testing.
This commit is contained in:
committed by
Thiago de Arruda
parent
10479fd233
commit
ad4c1e1954
@@ -218,6 +218,8 @@ local function standalone(...)
|
||||
require "moonscript"
|
||||
Preprocess = require("preprocess")
|
||||
Preprocess.add_to_include_path('./../../src')
|
||||
Preprocess.add_to_include_path('./../../build/include')
|
||||
Preprocess.add_to_include_path('./../../.deps/usr/include')
|
||||
|
||||
input = Preprocess.preprocess_stream(arg[1])
|
||||
local raw = input:read('*all')
|
||||
|
||||
Reference in New Issue
Block a user