diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-08-05 16:26:54 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-08-05 16:26:54 +0300 |
| commit | 6abe2a79f71401003134d967327d4ee526ed12ae (patch) | |
| tree | 6e6f824d7c622e706bd59a13d8dfe6fbe0c4b7a5 /.config/nvim/lua/overseer/template/custom/make_c.lua | |
| parent | d296700cb3a8fa7909e38b8bfcb15ddf1b811e25 (diff) | |
feat(nvim): setup overseer for C with cmake
Diffstat (limited to '.config/nvim/lua/overseer/template/custom/make_c.lua')
| -rw-r--r-- | .config/nvim/lua/overseer/template/custom/make_c.lua | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/.config/nvim/lua/overseer/template/custom/make_c.lua b/.config/nvim/lua/overseer/template/custom/make_c.lua deleted file mode 100644 index 358047f..0000000 --- a/.config/nvim/lua/overseer/template/custom/make_c.lua +++ /dev/null @@ -1,20 +0,0 @@ -local overseer = require('overseer') -return { - name = 'Make Current C file', - builder = function(_) - local path = vim.fn.expand('%:p') - local dir, file = path:gmatch('(.*)[/\\](.*)')() - file = string.sub(file, 1, -3) -- remove .c extension - - return { - cmd = { 'make' }, - args = { file }, - cwd = dir, - } - end, - tags = { overseer.TAG.BUILD }, - priority = 20, - condition = { - filetype = { 'c' }, - }, -} |
