Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 638 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 638 Bytes

Compit

Compit is a plugin for NeoVim to easily compile/run your code.

Usage

require('compit').run({})

-- to disable the prompt
require('compit').run({ prompt = false })

Or you make a keybind for it:

vim.api.nvim_set_keymap('n', '<leader>c', ':lua require"compit".run({})<CR>', { noremap = true })

After running the compile/run command compit saves it and will put it in next time you use compit.

2022-09-17.14-26-24.mp4

Installation

Packer:

use 'PythonPizzaDE/compit'

Plug:

Plug 'PythonPizzaDE/compit'