Browse Source

nixpkgs/neovim: open quickfix window after Make

Thomas Dy 2 months ago
parent
commit
0668e432fd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .config/nixpkgs/neovim/make.lua

+ 4 - 0
.config/nixpkgs/neovim/make.lua

@@ -30,6 +30,10 @@ function make(opts)
       efm = errorformat,
     })
     vim.api.nvim_exec_autocmds('QuickFixCmdPost', {})
+
+    if #result > 0 then
+      vim.cmd('copen')
+    end
   end
 
   Job:new({