From ebf15bdda1a1c53f4ce91681b1244e2159654ff4 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Fri, 26 Apr 2024 03:59:48 +0300 Subject: feat: better defaults --- lua/cmake/autocmds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/cmake/autocmds.lua') diff --git a/lua/cmake/autocmds.lua b/lua/cmake/autocmds.lua index 4b5b479..deb193d 100644 --- a/lua/cmake/autocmds.lua +++ b/lua/cmake/autocmds.lua @@ -28,7 +28,7 @@ function autocmds.setup() desc = "Generate project after saving CMakeLists.txt", }) end - --NOTE: this autocmd was written only to handle very rarely case when inside directory + --NOTE: this autocmd was written only to handle very rare case when inside directory --without CMakeLists.txt neovim starts like `nvim CMakeLists.txt`. In this case initial --setup will not make the affect and to correctry process the file save, we need to create --this autocommand so it reinitializes the project if it has not been done before. IMHO this -- cgit v1.2.3