Compare commits
4 commits
build/nix-
...
fix/compil
| Author | SHA1 | Date | |
|---|---|---|---|
| c12891f7ea | |||
|
|
88dc47b643 | ||
|
|
a5ebccc292 | ||
| 02958158c0 |
1 changed files with 6 additions and 1 deletions
|
|
@ -147,7 +147,12 @@ function M.compile(bufnr, name, provider, ctx)
|
|||
end)
|
||||
)
|
||||
|
||||
if provider.open and not opened[bufnr] and output_file ~= '' then
|
||||
if
|
||||
provider.open
|
||||
and not opened[bufnr]
|
||||
and output_file ~= ''
|
||||
and vim.uv.fs_stat(output_file)
|
||||
then
|
||||
if provider.open == true then
|
||||
vim.ui.open(output_file)
|
||||
elseif type(provider.open) == 'table' then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue