Skip to content

v0.2.0

Choose a tag to compare

@mmcky mmcky released this 06 Nov 22:44
· 43 commits to main since this release

πŸŽ‰ Major Refactoring Release

This release represents a complete overhaul of the plugin architecture, testing infrastructure, and documentation.

πŸ—οΈ Architecture Improvements

  • 80% reduction in main file size (260 β†’ 50 lines)
  • Modular structure: config.lua, filetype.lua, highlighting.lua, commands.lua, utils.lua
  • Detection caching for improved performance
  • Comprehensive error handling with vim.notify (no silent failures)
  • All configuration values now customizable

πŸ§ͺ Testing Infrastructure (55 tests)

  • Added plenary.nvim testing framework
  • 50 unit tests: pattern detection, edge cases, performance
  • 5 integration tests: filetype detection workflow
  • Test fixtures for various scenarios
  • Edge case coverage: unicode, malformed syntax, large files (100+ cells)

πŸ“š Documentation

  • Vim help documentation (:help myst-markdown)
  • 6 example configurations in examples/ directory
    • Basic, advanced, performance-optimized, Jupyter integration, lazy.nvim, LSP integration
  • Comprehensive CHANGELOG.md (Keep-a-Changelog format)
  • Consolidated documentation (README, CHANGELOG, doc/)

πŸ› οΈ Developer Experience

  • LICENSE (MIT), .gitignore, .editorconfig
  • Code formatting with StyLua (.stylua.toml)
  • Linting with Luacheck (.luacheckrc)
  • Makefile: make test, make lint, make format
  • GitHub Actions CI/CD for automated testing
  • Copilot instructions for AI assistance

✨ New Features

  • :MystInfo command for plugin information
  • Configurable scan_lines, timeouts, and caching options
  • Cache invalidation on buffer changes
  • LuaDoc annotations throughout codebase

🧹 Cleanup

  • Removed duplicate queries/myst/ directory (109 lines)
  • Removed docs/history/ summary files
  • Removed empty functions and redundant code

βœ… Quality Assurance

  • All 55 tests passing
  • No breaking changes (fully backward compatible)

πŸ“¦ Installation

See README.md for installation instructions.