リビジョン | 88ba004132950dde4f1a6f708304648ee067c0fa (tree) |
---|---|
日時 | 2022-12-15 16:50:09 |
作者 | badcoff33 <none@none> |
コミッター | badcoff33 |
removed metatable call
@@ -25,8 +25,7 @@ RunAsync = {} | ||
25 | 25 | -- @field live_update: forward commands output to quickfix list (default = false) |
26 | 26 | -- @return the object of this class |
27 | 27 | function RunAsync.start(args) |
28 | - local self = setmetatable({}, self) | |
29 | - self.__index = self | |
28 | + local self = {} | |
30 | 29 | self.command = args["command"] or "" |
31 | 30 | self.stdout_stderr = {} |
32 | 31 | self.regexp = args["regexp"] or vim.o.errorformat |