mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/compiler: init
This commit is contained in:
parent
4f01fd981a
commit
f76051e06e
2 changed files with 24 additions and 0 deletions
19
plugins/by-name/compiler/default.nix
Normal file
19
plugins/by-name/compiler/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
||||||
|
name = "compiler";
|
||||||
|
originalName = "compiler.nvim";
|
||||||
|
package = "compiler-nvim";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.khaneliman ];
|
||||||
|
|
||||||
|
description = ''
|
||||||
|
> [!Note]
|
||||||
|
> Some languages require you manually install their compilers in your machine, so `compiler.nvim` is able to call them.
|
||||||
|
> Please check [here], as the packages will be different depending your operative system.
|
||||||
|
|
||||||
|
[here]: https://github.com/Zeioth/Compiler.nvim/wiki/how-to-install-the-required-dependencies
|
||||||
|
'';
|
||||||
|
}
|
5
tests/test-sources/plugins/by-name/compiler/default.nix
Normal file
5
tests/test-sources/plugins/by-name/compiler/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.compiler.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue