You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Along with the previously defined 'project_override_config' it is also possible to define build/run/debug actions
84
+
-- locally inside the project working directory.
85
+
-- The plugin will look for a configuratino file called 'tmux-compile.lua' inside the following directories
86
+
-- RELATIVE to the vim current owrking directory:
87
+
-- ./.nvim/
88
+
-- ./nvim/
89
+
-- ./
90
+
-- example tmux-compile.lua file
91
+
92
+
return {
93
+
build="make",
94
+
run="make run"
95
+
}
96
+
97
+
-- IMPORTANT: configuration precedence
98
+
-- When starting, this plugin will load and apply the build/run/debug commands in the following order
99
+
100
+
-- 1. tmux-compile.lua
101
+
-- 2. project_override_config
102
+
-- 3. build_run_config
103
+
104
+
-- If there is no tmux-compile.lua file defined in the current working directory, the plugin will load the commands from the 'project_override_config' table inside the main config. If that is also not defined for the current working directory, then the plugin will default to the commands defined by the file extension of the current buffer
77
105
})
78
106
79
107
```
@@ -85,29 +113,31 @@ Create keybindings for any command by adding the following to Neovim config:
0 commit comments