All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated tree-sitter queries to be compatible with the tree-sitter-haskell v0.21.0 rewrite. Because there are not many queries, this plugin maintains backward compatibility with the previous tree-sitter-haskell implementation for now.
- Don't use tree-sitter to get the module name for the
mod
snippet, as this is most likely not set. Instead, use<filename>:t:r
.
- Broken
qual
snippet: Constructing only the first part of the module as an alias choice [#20].
- Made the
mod
snippet handle the case where the module declaration already exists. Thanks @gregorias!
- Luarocks package: Add
LuaSnip
dependency.
- Module imports:
qualc
snippet for qualified import of child modules.impc
snippet for unqualified import of child modules.
- Expressions: Add multi-way if snippet (
ifmw
) [#16]. Thanks @gregorias!
- Pragmas: Add all language extensions as choice options [#12]. Thanks @gregorias!
- Health checks.
- Use tree-sitter if the parser for Haskell is installed, without requiring the nvim-treesitter plugin.
- Add
no-deprecations
choices [#11]. Thanks @gregorias!
- Typo in
LambdaCase
pragma snippet
- Initial release