mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 00:54:48 +02:00
plugins/dap: ensure extensions load after the main plugin (#526)
* plugins/dap: ensure extensions load after the main plugin * plugins/dap: change extensionConfigLua to use mkOption Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> * plugins/dap: remove redundant null check for extensionConfigLua Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --------- Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
9f8ce75653
commit
ad3598cada
5 changed files with 54 additions and 37 deletions
|
@ -47,10 +47,11 @@ in {
|
|||
mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
plugins.dap.enable = true;
|
||||
|
||||
extraConfigLua = ''
|
||||
require("dap-go").setup(${helpers.toLuaObject options})
|
||||
'';
|
||||
plugins.dap = {
|
||||
enable = true;
|
||||
extensionConfigLua = ''
|
||||
require("dap-go").setup(${helpers.toLuaObject options})
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue