summaryrefslogtreecommitdiff
path: root/lua/talha/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/talha/set.lua')
-rw-r--r--lua/talha/set.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/talha/set.lua b/lua/talha/set.lua
index 68b6ee6..c2c578d 100644
--- a/lua/talha/set.lua
+++ b/lua/talha/set.lua
@@ -32,3 +32,7 @@ op.colorcolumn = '120'
-- required to allow mm (mark-move) command to move file
vim.g.netrw_keepdir = 1
+
+-- building c/cpp files
+vim.opt.makeprg = GetPlatformBuildCommand()
+