diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-04 23:55:29 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-04 23:55:29 +0300 |
| commit | 2c67cae7df1cbfc8c4557fcbf4dad8bb2a412c28 (patch) | |
| tree | c04076a278f3978a403049450846e0e1cb2e3c9e /.config/nvim/lua/plugins/overseer/template | |
| parent | b68c7097a2bd39512d9acd2a6a6e174cf983bdf2 (diff) | |
Neovim: added overseer (not configured yet) and some other changes
Diffstat (limited to '.config/nvim/lua/plugins/overseer/template')
| -rw-r--r-- | .config/nvim/lua/plugins/overseer/template/user/c_build_make.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/overseer/template/user/c_build_make.lua b/.config/nvim/lua/plugins/overseer/template/user/c_build_make.lua new file mode 100644 index 0000000..58d7e3c --- /dev/null +++ b/.config/nvim/lua/plugins/overseer/template/user/c_build_make.lua @@ -0,0 +1,17 @@ +return { + name = 'C build (make)', + builder = function() + -- Full path to current file (see :help expand()) + local file = vim.fn.expand('%:p') + file = file:sub(1, -3) + return { + name = 'Make C file', + cmd = { 'make' }, + args = { file }, + components = { { 'on_output_quickfix', open = true }, 'default' }, + } + end, + condition = { + filetype = { 'c' }, + }, +} |
