Skip to content

mattydebie/scs.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This uses source code shots to render an image of your code using its api.

Source Code Shots .nvim

Simple integration of sourcecodeshots.com into neovim.

not nearly finished but is working for linux with xclip (or without copy).

Installation

use 'mattydebie/scs.nvim'

require'scs'.setup {
  theme = 'github-dark',
  tabWidth = 2,
  tmp_file = '/tmp/scs.png',
}

Available themes: themes

To take a screenshot

:lua require'scs'.screenshot()

The screenshot function takes two optional arguments.

{
  buffer = false,   // take a screenshot of the entire buffer
  clipboard = true, // copy the resulting image to clipbard
}

About

Source Code Shots.com from your vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages