R-nvim / R.nvim

Neovim plugin to edit R files
GNU General Public License v3.0
155 stars 16 forks source link

Unrecognized option "editing_mode" #71

Closed fbearoff closed 7 months ago

fbearoff commented 7 months ago

I get the following error message if I set editing_mode = "vi" as an option

Warn 06:17:26 PM notify.warn R.nvim Unrecognized option 'editing_mode'.

Lazy.nvim config

return {
  "R-nvim/R.nvim",
  lazy = false,
  opts = {
    editing_mode = "vi",
  },
}

inputrc

set editing-mode vi
set show-mode-in-prompt on
set vi-cmd-mode-string \1\e[2 q\2(c)
set vi-ins-mode-string \1\e[5 q\2(i)

$if R
    set bell-style none
$else
    set bell-style audible
$endif
jalvesaq commented 7 months ago

Thank you for reporting the bug! I forgot to add the option to the config table, but the bug should be fixed now.