diff --git a/CHANGELOG.md b/CHANGELOG.md index f4320c76..06fe2172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.1] - 2023-10-28 +### Fixed +- Remove accidental use of Neovim nightly API (`dap`, `crateGraph`, `explainError`) [[#26](https://github.com/mrcjkb/rustaceanvim/issues/26)]. +- Add static type checking for Neovim stable API. + ## [3.1.0] - 2023-10-28 ### Added - `:RustLsp explainError` command, uses `rustc --explain` on error diagnostics with diff --git a/lua/rustaceanvim/compat.lua b/lua/rustaceanvim/compat.lua index 9118e6a0..abf14b3a 100644 --- a/lua/rustaceanvim/compat.lua +++ b/lua/rustaceanvim/compat.lua @@ -18,7 +18,7 @@ M.uv = vim.uv or vim.loop --- @field stderr? string M.system = vim.system - -- wrapper around vim.fn.system to give it a similar API as vim.system + -- wrapper around vim.fn.system to give it a similar API to vim.system or function(cmd, _, on_exit) local output = vim.fn.system(cmd) local ok = vim.v.shell_error