Skip to content

Instantly share code, notes, and snippets.

@RomjanHossain
Created October 26, 2023 07:03
Show Gist options
  • Save RomjanHossain/894d73529c6bf1bbf5cb08b91d9d0d57 to your computer and use it in GitHub Desktop.
Save RomjanHossain/894d73529c6bf1bbf5cb08b91d9d0d57 to your computer and use it in GitHub Desktop.
Lvim using Neovide
#Requires -Version 7.1
$ErrorActionPreference = "Stop" # exit when command fails
$env:XDG_DATA_HOME = $env:XDG_DATA_HOME ?? $env:APPDATA
$env:XDG_CONFIG_HOME = $env:XDG_CONFIG_HOME ?? $env:LOCALAPPDATA
$env:XDG_CACHE_HOME = $env:XDG_CACHE_HOME ?? $env:TEMP
$env:LUNARVIM_RUNTIME_DIR = $env:LUNARVIM_RUNTIME_DIR ?? "$env:XDG_DATA_HOME\lunarvim"
$env:LUNARVIM_CONFIG_DIR = $env:LUNARVIM_CONFIG_DIR ?? "$env:XDG_CONFIG_HOME\lvim"
$env:LUNARVIM_CACHE_DIR = $env:LUNARVIM_CACHE_DIR ?? "$env:XDG_CACHE_HOME\lvim"
$env:LUNARVIM_BASE_DIR = $env:LUNARVIM_BASE_DIR ?? "$env:LUNARVIM_RUNTIME_DIR\lvim"
neovide -- -u "$env:LUNARVIM_BASE_DIR\init.lua" @args
#neovide -u "$env:LUNARVIM_BASE_DIR\init.lua" @args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment