diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3424973f..fc6d6226 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ on: jobs: format: name: Format - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Clone repo uses: actions/checkout@v2 diff --git a/lua/cmake-tools/const.lua b/lua/cmake-tools/const.lua index 5de81378..55f41d96 100644 --- a/lua/cmake-tools/const.lua +++ b/lua/cmake-tools/const.lua @@ -15,11 +15,11 @@ local const = { end, -- this is used to specify generate directory for cmake cmake_compile_commands_options = { action = "soft_link", -- available options: soft_link, copy, lsp, none - -- soft_link: this will automatically make a soft link from compile commands file to target - -- copy: this will automatically copy compile commands file to target - -- lsp: this will automatically set compile commands file location using lsp - -- none: this will make this option ignored - target = vim.loop.cwd() -- path to directory, this is used only if action == "soft_link" or action == "copy" + -- soft_link: this will automatically make a soft link from compile commands file to target + -- copy: this will automatically copy compile commands file to target + -- lsp: this will automatically set compile commands file location using lsp + -- none: this will make this option ignored + target = vim.loop.cwd(), -- path to directory, this is used only if action == "soft_link" or action == "copy" }, cmake_kits_path = nil, -- this is used to specify global cmake kits path, see CMakeKits for detailed usage cmake_variants_message = {