diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-03 23:39:00 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-03 23:39:00 +0300 |
commit | 6e8f6702767f1442c90157b06ce2f77c20d191bb (patch) | |
tree | 80fc38a333d4696878ace19d6f35eb5a108c16b9 /lua/cmake/actions.lua | |
parent | 75abc91c93dd89b1f9dee4b6aeba284009ae0b93 (diff) |
refactor: variants inside config moved one level up
Diffstat (limited to 'lua/cmake/actions.lua')
-rw-r--r-- | lua/cmake/actions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/cmake/actions.lua b/lua/cmake/actions.lua index 0eff4ed..d17096c 100644 --- a/lua/cmake/actions.lua +++ b/lua/cmake/actions.lua @@ -251,7 +251,7 @@ M.edit_variants = function() vim.cmd(string.format("e %s", constants.variants_yaml_filename)) end) else - local default_yaml = require("cmake.lyaml").dump(config.cmake.variants) + local default_yaml = require("cmake.lyaml").dump(config.variants) utils.write_file(constants.variants_yaml_filename, default_yaml, function() vim.schedule(function() vim.cmd(string.format("e %s", constants.variants_yaml_filename)) |