diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-04-26 02:09:30 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-04-26 02:09:30 +0300 |
commit | 93945a96daad5db8f91b07d1aef65b3ec6f758fb (patch) | |
tree | 92b061bfffcf58515bb4c04ed448364262d67341 /lua/cmake/fileapi.lua | |
parent | 8d05fcaaeb1442c709f148ff934d92900743f051 (diff) |
feat: autocommands to regenerate and reset project
One autocommand generates project after saving CMakeLists.txt, and other sets up all project after saving variants
Diffstat (limited to 'lua/cmake/fileapi.lua')
-rw-r--r-- | lua/cmake/fileapi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/cmake/fileapi.lua b/lua/cmake/fileapi.lua index 47a7459..d33d477 100644 --- a/lua/cmake/fileapi.lua +++ b/lua/cmake/fileapi.lua @@ -2,7 +2,7 @@ local capabilities = require("cmake.capabilities") local Path = require("plenary.path") local scan = require("plenary.scandir") local utils = require("cmake.utils") -local uv = vim.loop +local uv = vim.uv or vim.loop local query_path_suffix = { ".cmake", "api", "v1", "query", "client-cmake", "query.json" } local reply_dir_suffix = { ".cmake", "api", "v1", "reply" } |