Skip to content

An nvim utility to set and run compilation commands for buffers and workspaces

License

Notifications You must be signed in to change notification settings

nullishamy/nvim-compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-compile

A simple compile command implementation for neovim. This allows you to set a compile command for a workspace / buffer and the run it with a keybind.

The default opts are

{
  path = Path:new(vim.fn.stdpath('data'), 'nvim-compile', 'data.json'),
  open_with = function (cmd)
    require('FTerm').scratch({ cmd = cmd })
  end,
  substitutions = {
    ['%%'] = function()
      return require('nvim-compile.util').buf_path() or 'unknown'
    end
  }
}

and are passed into require('nvim-compile').setup() to configure the plugin.

NOTE: You must call setup before you can use the plugin.

This plugin depends on the following:

About

An nvim utility to set and run compilation commands for buffers and workspaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages