You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/cmake-tools/const.lua
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ local const = {
24
24
---@typestring|fun(): string
25
25
target=vim.loop.cwd, -- path or function returning path to directory, this is used only if action == "soft_link" or action == "copy"
26
26
},
27
-
cmake_config_path=vim.fn.expand("~") .."/.config/cmake-tools/", -- this is used to specify global cmake config path
28
-
cmake_kits_path=vim.fn.expand("~") .."/.config/cmake-tools/cmake-kits.json", -- this is used to specify global cmake kits path, see CMakeKits for detailed usage
27
+
cmake_config_path=vim.fn.stdpath("config") .."/cmake-tools/", -- this is used to specify global cmake config path
28
+
cmake_kits_path=nil, -- this is used to specify global cmake kits path, see CMakeKits for detailed usage
29
29
cmake_variants_message= {
30
30
short= { show=true }, -- whether to show short message
31
31
long= { show=true, max_length=40 }, -- whether to show long message
0 commit comments