mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-10 23:13:17 +00:00
feat(rust): clean up core rust module
This commit is contained in:
parent
18548e06a5
commit
32ed208492
1 changed files with 1 additions and 7 deletions
|
|
@ -290,18 +290,12 @@ in {
|
|||
startPlugins = ["rustaceanvim"];
|
||||
pluginRC.rustaceanvim = entryAfter ["lsp-setup"] ''
|
||||
vim.g.rustaceanvim = function()
|
||||
return {
|
||||
tools = ${toLuaObject cfg.extensions.rustaceanvim.setupOpts.tools},
|
||||
server = ${toLuaObject cfg.extensions.rustaceanvim.setupOpts.server},
|
||||
dap = ${toLuaObject cfg.extensions.rustaceanvim.setupOpts.dap},
|
||||
}
|
||||
return ${toLuaObject cfg.extensions.rustaceanvim.setupOpts}
|
||||
end
|
||||
'';
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf cfg.extensions.rustaceanvim {})
|
||||
|
||||
(mkIf cfg.extensions.crates-nvim.enable {
|
||||
vim = mkMerge [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue