c#/dotnet

pacman -S dotnet-host dotnet-sdk-8.0
dotnet new console -n ConsoleApp

In neovim:

:MasonInstall csharp-language-server
:TSInstall c_sharp

PKGBUILD if you're not using mason.

PKGBUILD
pkgname=csharp-ls
pkgver=0.1
pkgrel=1
pkgdesc=''
arch=('any')
url='https://github.com/razzmatazz/csharp-language-server'
license=('MIT')
depends=('dotnet-host' 'dotnet-sdk-8.0')

package() {
  mkdir -p "$pkgdir/usr/bin"
  dotnet tool install --tool-path "$pkgdir/usr/bin" csharp-ls
}

Comments