Releases: R-nvim/R.nvim
Version 0.99.3
Bug fixes:
- Prevent JSON truncation in completionItem/resolve responses (@jiangyun-fun).
- Use robust raw string syntax for Python chunks (@jiangyun-fun).
- Fix invalid read in C code.
Version 0.99.2
- Turn rnvimserver into a language server with support for completion, hover, and signature help.
- Completion of
package::function. - Move check of language detection to
:RDebugInfo. - Add support for formula functions in ggplot2 for column completion.
- Bug fixes.
Contributors: Jakson Alves de Aquino, Philippe Massicotte, Johannes Bezold, Wojtek Klimowicz, and Yun Jiang.
Version 0.99.1
Bug fixes.
Version 0.99.0
Changes
-
Restore the debugging feature.
-
Better integration with TreeSitter:
- Better code chunk extraction from RMarkdown or Quarto files.
- Enhance piped commands handling in R code.
- Refactor the number formatting logic.
- Optimize subsetting.
-
New options:
yaml_hl,set_params. -
When editing a Markdown document, behave as if it were an RMarkdown file if
"markdown" is included in the listvim.g.R_filetypes. -
Support for Wezterm and Kitty split panes.
-
Create more functions that run hooks:
run_after_R_start.run_after_ob_open.
-
Add Quarto YAML frontmatter and project configuration (via yamlls).
-
Add browsing and completion of S7 objects.
-
Add lua/r/health.lua (
:checkhealth r). -
Replace some options with default commands.
- Remove assignment_keymap, pipe_keymap, rmd_chunk_keymap and rnw_chunk_keymap.
- Rename some
<Plug>labels:- RAssign as RInsertAssign
- RPipe as RInsertPipe
- RmdCreateChunk as RmdInsertChunk
- RnwCreateChunk as RnwInsertChunk
-
Remove option
is_darwin. -
Remove support for rgui.exe.
-
Remove integration with Rapp on macOS.
-
Bug fixes:
- Health check improvements: Fixed treesitter parsing issues and parser
detection in health checks (#434, #433). - Documentation command fix: Resolved "command not found" error with
LibreOffice Writer in documentation (#431). - Label attribute validation: Added proper checking for character vector
label attributes (#427). - Fuzzy search fix: Resolved overflow issues in fuzzy completion (#416).
- Roxygenize function fix: Corrected issues with the roxygenize function (#412).
- Paste lines limit: Fixed handling of max_paste_lines when sending functions (#409).
- Other minor bug fixes.
- Health check improvements: Fixed treesitter parsing issues and parser
New Contributors:
- alohaia
- oliwia
- Justin Wishart
- Clark Richards
- Daniel Hermosilla
- Jason Pott
- Urtzi Enriquez-Urzelai
R.nvim 0.1.0
This is the first release for R.nvim! From now on we recommend you pin a release version in your plugin config, as we plan to use the release system to give ourselves a bit more flexibility when making breaking changes to the API.
What's Changed
- allows proper R_path lookup in registry by @akthe-at in #45
- Behave as documented by @jalvesaq in #46
- Remove
quarto_intelfrom docs since it's in cmp-r by @wklimowicz in #54 - Convert some options from number to string by @jalvesaq in #55
- Code optimization by @jalvesaq in #56
- Add annotations to some functions by @jalvesaq in #58
- Fix single line Shift+V send by @wklimowicz in #59
- Fix typo in README.md by @mikemc in #62
- Replace vim.toml with vim.yml by @she3o in #60
- Send/source R functions by @PMassicotte in #61
- Fix some functions by @she3o in #63
- Modify test setup to allow testing in live Neovim sessions. by @she3o in #50
- Optimize completion infrastructure for Lua by @jalvesaq in #64
- Complete methods arguments by @jalvesaq in #78
- Improve completion of methods arguments by @jalvesaq in #82
- Faster caching by @jalvesaq in #83
- Send some preceding lines to the console by @wurli in #99
- fix: remove test.R by @wurli in #101
- Better hadling poissible nil values when using treesitter to send R code to the console (#99) by @PMassicotte in #104
- Support namespace prefix in
nvim.print()by @hongyuanjia in #105 - New feature: split file paths into its components by @PMassicotte in #110
- add nvimpager=vertical option, split help doc vertically. See #117 by @cswingle in #118
- ensuring second backtick can close inline code chunk by @j-w-e in #122
- add option
start_libsby @liubianshi in #126 - Add support for project-level configuration by @wurli in #116
- Fixes for
.Rprojfiles by @wurli in #131 - fix: mid-line pipe inserts by @wurli in #133
- fix: resolves issue #139 warnings on windows by @akthe-at in #140
- Fix RSendMotion key mapping by @smb5 in #141
- Add vim.ui.open support for pdf opening by @Ben10164 in #144
- Improvements when building completion data by @jalvesaq in #149
- ✨ (R.nvim): add feature to convert numbers to explicit integers by @PMassicotte in #153
- Add a new module to replace all the '$' subsetting operators with '[[' in the current buffer by @PMassicotte in https://github.com//pull/157
- Automatically install missing packages in the current buffer by @PMassicotte in #160
- Move TaskCallBack from nvimcom.c to nvimcom.R by @jalvesaq in #168
- fix: send correct string to windows by @akthe-at in #173
- Add real support for
tmux split-windowby @jalvesaq in #169 - Fix the node names to correctly capture file path by @PMassicotte in #174
- Format R documentation as RMarkdown by @jalvesaq in #178
- Fix some auto-completion bugs by @jalvesaq in #179
- Use treesitter to get code language by @jalvesaq in #187
- Fix send function treesitter r by @PMassicotte in #176
- Handle correcly multiple exptessions that are on the same line seperated by ; by @PMassicotte in #180
- 🐛 (brackets.lua): fix incorrect Treesitter query by replacing 'dollar' with 'extract_operator' by @PMassicotte in #189
- ✨ Better split path (handle paths and URLs) and let user choose which split function to use by @PMassicotte in #193
- Fix get lang by @jalvesaq in #196
- Prevent installing the same missing packages more than once by @PMassicotte in #194
- Call inform() instead of warn() and print() by @jalvesaq in #197
- feat(brackets.lua): add support for replacing single brackets with double brackets by @PMassicotte in #205
- Prevent crash when trying to use changing subsetting function in non-R files by @PMassicotte in #207
- Do not replace bracket subset matrix by @PMassicotte in #208
- Fix bugs in C code by @jalvesaq in #212
- Optimize subsetting replacement withing the same node by @PMassicotte in #215
- Fix issues with source() by @jalvesaq in #217
- fix(config.lua): correct R detection on Windows by @hongyuanjia in #223
- auto_start = 1 is not a valid value by @idavydov in #228
- feat(R.nvim): add roxygen2 support by @PMassicotte in #227
- Fix RFormat for entire file by @jalvesaq in #226
- feat(R.nvim): add option to register treesitter parsers for quarto and rmd files by @PMassicotte in #239
- Documentation: add some notes about versioning and rework the README a bit by @wurli in #240
New Contributors
- @akthe-at made their first contribution in #45
- @wklimowicz made their first contribution in #54
- @mikemc made their first contribution in #62
- @wurli made their first contribution in #99
- @cswingle made their first contribution in #118
- @j-w-e made their first contribution in #122
- @liubianshi made their first contribution in #126
- @smb5 made their first contribution in #141
- @Ben10164 made their first contribution in #144
- @idavydov made their first contribution in #228
Full Changelog: https://github.com/R-nvim/R.nvim/commits/0.1.0