Skip to content

Commit

Permalink
add bin_path config (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmmulroy authored Jun 23, 2023
1 parent a3661c7 commit 9f0864d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/tsc/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ end
local DEFAULT_CONFIG = {
auto_open_qflist = true,
auto_close_qflist = false,
bin_path = utils.find_tsc_bin(),
enable_progress_notifications = true,
flags = {
noEmit = true,
Expand Down Expand Up @@ -53,7 +54,7 @@ end

M.run = function()
-- Closed over state
local tsc = utils.find_tsc_bin()
local tsc = config.bin_path
local errors = {}
local files_with_errors = {}
local notify_record
Expand Down

0 comments on commit 9f0864d

Please sign in to comment.