Closed Gerg-L closed 1 month ago
also updated mnw because i can
@Gerg-L Oh yeah I totally forgot about the patch itself. Also, I don't use flutter-tools but I think @Vagahbond can test it out.
I do not do Flutter sorry
CC @FlafyDev for being a cutie and the one to add the patch
Seems to build fine, though I can't verify if the patches have applied. I'll need to test with a dummy flutter project later
i can test can i get nvf with flutter support through a cli command?
i can test can i get nvf with flutter support through a cli command?
Unfortunately, no. But you can initialize a quick configuration using the extended library and a very basic flake:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nvf.url = "github:notashelf/nvf";
};
outputs = inputs: let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
customNeovim = inputs.nvf.lib.neovimConfiguration {
inherit pkgs;
modules = [
{
config.vim = {
languages.dart = {
enable = true;
dap.enable = true;
};
};
}
];
};
in {
packages.${system}.neovim = customNeovim.neovim;
};
}
doesn't seem to work
My bad I missed a few lines. Please try this @FlafyDev
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nvf.url = "github:gerg-l/nvf";
};
outputs = inputs: let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
customNeovim = inputs.nvf.lib.neovimConfiguration {
inherit pkgs;
modules = [
{
config.vim = {
startPlugins = [pkgs.vimPlugins.plenary-nvim];
languages.dart = {
enable = true;
lsp.enable = false;
treesitter.enable = true;
flutter-tools = {
enable = true;
color = {
enable = true;
virtualText.enable = true;
};
};
};
};
}
];
};
in {
packages.${system}.neovim = customNeovim.neovim;
};
}
works 👍
@FrothyMarrow can you test if flutter-tools works with this setup your change of copying
$src
breakspatches
from doing anything i was setting version incorrectly though i switched tostdenvNoCC.mkDerivation
because it seems nicer in this case