Skip to content

Commit 2c87ff8

Browse files
committed
Remove out-of-date references
1 parent 7ec5b7d commit 2c87ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contributing/plugin-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,13 @@ Integrating the plugin into HLS itself requires changes to several configuration
393393

394394
A good approach is to search for the ID of an existing plugin (e.g., `hls-class-plugin`):
395395

396-
- `./cabal*.project` and `./stack*.yaml`: Add the plugin package to the `packages` field.
397396
- `./haskell-language-server.cabal`: Add a conditional block with the plugin package dependency.
398397
- `./.github/workflows/test.yml`: Add a block to run the plugin's test suite.
399398
- `./.github/workflows/hackage.yml`: Add the plugin to the component list for releasing the plugin package to Hackage.
400399
- `./*.nix`: Add the plugin to Nix builds.
401400

402-
The full code used in this tutorial, including imports, is available in [this Gist](https://gist.github.com/pepeiborra/49b872b2e9ad112f61a3220cdb7db967) and in this [branch](https://github.com/pepeiborra/ide/blob/imports-lens/src/Ide/Plugin/ImportLens.hs).
401+
This plugin tutorial re-implements parts of the [`hls-explicit-imports-plugin`] which is part of HLS.
402+
The plugin code additionally contains advanced concepts, such as `Rules`.
403403

404404
I hope this has given you a taste of how easy and joyful it is to write plugins for HLS. If you are looking for contribution ideas, here are some good ones listed in the HLS [issue tracker](https://github.com/haskell/haskell-language-server/issues).
405405

0 commit comments

Comments
 (0)