Article Outline
如何將 Neovim 打造成一個 IDE
Syntax highlight
TSinstall r
LSP
MasonInstall r-languageserver
Formater
REPL
return {
"jalvesaq/Nvim-R",
lazy = false, -- must set this line
config = function()
local vim = vim
-- vim.g.R_assign_map = "--" -- LuaSnip might be better
-- vim.g.R_auto_start = 2
vim.R_objbr_auto_start = 1
vim.g.R_assign = 0
vim.g.Rout_prompt_str = "»"
vim.g.R_clear_line = 1
vim.g.R_rconsole_width = 1000
vim.g.R_rconsole_height = 20
vim.g.R_min_editor_width = 80
vim.g.R_args = { "--no-save", "--quiet" }
vim.g.R_csv_app = "tmux split-window -h vd"
end,
}