Zeioth/compiler.nvim

hi this doesnt work...

Closed this issue · 3 comments

using this for lazy.nvim

return {
  {
    "Zeioth/compiler.nvim",
    cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
    keys = {
      { "<F6>", "<cmd>CompilerOpen<CR>", { noremap = true, silent = true, desc = "CompilerOpen" } },
      { "<A-F6>", "<cmd>CompilerRedo<CR>", { noremap = true, silent = true, desc = "CompilerRedo" } },
      { "<A-F7>", "<cmd>CompilerToggleResults<CR>", { noremap = true, silent = true, desc = "CompilerRedo" } },
    },
  },
  {
    "stevearc/overseer.nvim",
    commit = "68a2d344cea4a2e11acfb5690dc8ecd1a1ec0ce0",
    cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
    opts = {
      task_list = {
        direction = "bottom",
        min_height = 25,
        max_height = 25,
        default_detail = 1,
      },
    },
  },
}

:checkhealth

compiler: require("compiler.health").check()

compiler.nvim ~
- Neovim Version: v0.9.5
- OK Using stable Neovim >= 0.8.0
- OK `git` is installed: Used for core functionality such as cloning compiler.nvim
- OK `gcc` is installed: Used to call the C compiler.
- OK `g++` is installed: Used to call the C++ compiler.
- WARNING `csc` is not installed: Used to call the C# compiler.
- WARNING `mono` is not installed: Used to run C# programs compiled by csc.
- OK `dotnet` is installed: Used to call the C# compiler for .csproj files.
- WARNING `javac` is not installed: Used to call the java compiler.
- WARNING `nasm` is not installed: Used to call the assembly compiler.
- OK `rustc` is installed: Used to call the rust compiler.
- OK `cargo` is installed: Used to call the rust compiler.
- WARNING `elixir` is not installed: Used to call the elixir compiler.
- WARNING `Rscript` is not installed: Used to call the r interpreter.
- OK `python` is installed: Used to call the python interpreter.
- WARNING `nuitka3` is not installed: Used to call the python machine code compiler.
- WARNING `pyinstaller` is not installed: Used to call the python bytecode compiler.
- OK `ruby` is installed: Used to call the ruby interpreter.
- OK `node` is installed: nil
- OK `tsc` is installed: nil
- WARNING `swift` is not installed: Used to call the swift cli.
- WARNING `swiftc` is not installed: Used to call the swift compiler.
- OK `go` is installed: Used to call the go compiler.
- WARNING `kotlin` is not installed: Used to call the kotlin compiler.
- WARNING `kotlinc` is not installed: Used to call the kotlin compiler.
- OK `dart` is installed: Used to call the dart compiler.
- OK `flutter` is installed: Used to call the dart flutter compiler.
- OK `perl` is installed: Used to call the perl interpreter.
- WARNING `zig` is not installed: Used to call the zig compiler.
- OK `make` is installed: Used to call the make interpreter.

error: Command CompilerOpen not found after loading overseer.nvim

idk what to do

@daUnknownCoder I see you have removed the line:

dependencies = { "stevearc/overseer.nvim" }

From the installation instructions. Add it and it should work.

Also, you can try with

event = "VeryLazy"

instead of

cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },

If you want to go nuclear.

you should probably be adding a config=true for your lazy config... in the README

You don't need config=true. Lazy do it automatically as long as you define opts={}.