From 93945a96daad5db8f91b07d1aef65b3ec6f758fb Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Fri, 26 Apr 2024 02:09:30 +0300 Subject: feat: autocommands to regenerate and reset project One autocommand generates project after saving CMakeLists.txt, and other sets up all project after saving variants --- lua/cmake/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/cmake/utils.lua') diff --git a/lua/cmake/utils.lua b/lua/cmake/utils.lua index 1c68fae..b9bcdf8 100644 --- a/lua/cmake/utils.lua +++ b/lua/cmake/utils.lua @@ -2,7 +2,7 @@ local config = require("cmake.config") local capabilities = require("cmake.capabilities") local scan = require("plenary.scandir") local Path = require("plenary.path") -local uv = vim.loop +local uv = vim.uv or vim.loop local utils = {} -- cgit v1.2.3