diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 7c92ee80..164b9a7f 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -522,3 +522,17 @@ - Fixed `typescript` treesitter grammar not being included by default. +- Add [nvim-biscuits] to show block context. Available at + `vim.utility.nvim-biscuits`. + +[JManch](https://github.com/JManch): + +- Fix default [blink.cmp] sources "path" and "buffer" not working when + `autocomplete.nvim-cmp.enable` was disabled and + `autocomplete.nvim-cmp.sources` had not been modified. + +[valterschutz](https://github.com/valterschutz): + +[ruff]: (https://github.com/astral-sh/ruff) + +- Add [ruff-fix] as a formatter option in `vim.languages.python.format.type`. diff --git a/modules/plugins/languages/python.nix b/modules/plugins/languages/python.nix index 6f97f70c..f4d749f4 100644 --- a/modules/plugins/languages/python.nix +++ b/modules/plugins/languages/python.nix @@ -149,6 +149,16 @@ ''; }; }; + + ruff-check = { + package = pkgs.writeShellApplication { + name = "ruff-check"; + runtimeInputs = [pkgs.ruff]; + text = '' + ruff check --fix --exit-zero - + ''; + }; + }; }; defaultDebugger = "debugpy";