Skip to content

TheAjaykrishnanR/nvim-csharp-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nvim-csharp-runner

A Neovim plugin to run C# code snippets using CS-Script that I Vibecoded using Claude.

Requirements

  • Neovim 0.5+
  • CS-Script (css command must be in PATH)

Installation

Using lazy.nvim

{
  'TheAjaykrishnanR/nvim-csharp-runner',
  config = function()
    require('csharp_runner')
  end
}
use {
  'TheAjaykrishnanR/nvim-csharp-runner',
  config = function()
    require('csharp_runner')
  end
}

Manual

Clone to your Neovim config directory:

git clone https://github.com/TheAjaykrishnanR/nvim-csharp-runner ~/.config/nvim/pack/plugins/start/nvim-csharp-runner

Then add to your init.lua:

require('csharp_runner')

Usage

Commands

  • :Run - Execute the current C# buffer
  • :Kill - Stop the running C# process

Features

  • Live output streaming
  • Animated loading indicator
  • Automatic output buffer management
  • Process termination support

Example

using System;
class _ {	
    static void Main() {
        Console.WriteLine("Hello, World!");
    }
}

Run :Run to execute!

About

A Neovim plugin to run C# code snippets using CS-Script that I Vibecoded using Claude.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages