From e87b73928e27bfcc7211b8dc9a46852ca24981da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Walle?= Date: Mon, 14 Oct 2024 14:24:32 +0200 Subject: [PATCH] Don't make binaryDirExpanded relative It's made relative to nvim's cwd, not config.cwd and furthermore there is no point in making it relative in the first place. --- lua/cmake-tools/preset.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/cmake-tools/preset.lua b/lua/cmake-tools/preset.lua index 8cac30e0..8ce9dbcd 100644 --- a/lua/cmake-tools/preset.lua +++ b/lua/cmake-tools/preset.lua @@ -38,7 +38,6 @@ local function resolveBuildDir(self) return end self.binaryDirExpanded = expandMacro(self, self.binaryDir) - self.binaryDirExpanded = vim.fn.fnamemodify(self.binaryDirExpanded, ":.") end local function resolveCacheVariables(self)