Skip to content

Commit

Permalink
Merge pull request #539 from NotAShelf/flutter-fix
Browse files Browse the repository at this point in the history
wrapper/build: disable failing require hook checks for flutter-tools
  • Loading branch information
NotAShelf authored Jan 8, 2025
2 parents aa7b55f + 7dbe7a0 commit ab49ba4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/plugins/languages/dart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ in {

(mkIf cfg.lsp.enable {
vim.lsp.lspconfig.enable = true;

vim.lsp.lspconfig.sources.dart-lsp = servers.${cfg.lsp.server}.lspConfig;
})

Expand Down
11 changes: 11 additions & 0 deletions modules/wrapper/build/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@
flutter-tools-patched = buildPlug {
pname = "flutter-tools";
patches = [./patches/flutter-tools.patch];

# Disable failing require check hook checks
nvimSkipModule = [
"flutter-tools.devices"
"flutter-tools.dap"
"flutter-tools.runners.job_runner"
"flutter-tools.decorations"
"flutter-tools.commands"
"flutter-tools.executable"
"flutter-tools.dev_tools"
];
};
};

Expand Down

0 comments on commit ab49ba4

Please sign in to comment.