Skip to content

WillEhrendreich/nvimconfig

Repository files navigation

(space) nvimIntro

Install Instructions

Install requires Neovim 0.10+. Always review the code before installing a configuration. It is required to have a C compiler for treesitter to work properly. I recommend the Zig one, it's fantastic.

If you don't have it in your path, don't have it as the CC environment variable, and don't account for the modified calling convention of "zig cc ", it will not work to install or build treesitter grammars at all. ##Important if you're going to use zig, in new versions of treesitter, it will only call "treesitter build" for everything in when neovim runs TSUpdate. You will need to have some sort of alias or something to call it correctly. I recommend the following function in your powershell profile:

function zig
{
  zig cc $args
}

If you don't do this, you will have no luck getting treesitter to build with zig. You've been warned.

clang also works, but it's not as good.

It's recommend heavily to not install nvim itself with anything but BOB. This is a fantastic tool that makes it very easy to install and update Neovim, and it's what I use.

Incredibly important is this: this configuration is heavily reliant on having Chocolatey installed. In fact, I have a super secret plugin of my own invention that handles chocolatey installations, but you have to have it installed first. Choco.nvim is the name of the plugin, and it's not available aside from in this configuration. It uses the packages.config file in the root of the repository to install packages.

If you're using powershell, you can install chocolatey with the initChocoScript.ps1 script, if I've done it right, but if that doesn't work for you go to the chocolatey website and follow the instructions there.

You can set environment variables on windows by opening the start menu and searching for edit environment variables.

I recommend setting the following user environment variables: CC to zig XDG_CONFIG_HOME to c:/.config XDG_DATA_HOME to c:/.local/share XDG_STATE_HOME to c:/.local/state NVIM_APPNAME to nvim

REPOS to c:/repos or whatever you want to use as your repository directory. (this is because of checks that are occurring in the configuration for if there are local repos of specific plugins: see ./lua/config/util.lua )

Clone the repository and install the plugins:

git clone git@github.com:WillEhrendreich/nvimconfig c:/.config/nvim
nvim --headless +"Lazy! sync" +qa

Also, take a look at this great video guide to having multiple nvim configurations: Elijah Manor - Neovim Config Switcher I've implemented a similar system in this my pwsh profile, and it's fantastic.

Plugins

bars-and-lines

code-runner

colorscheme

colorscheme-creation

completion

debugging

diagnostics

editing-support

file-explorer

formatting

fuzzy-finder

git

keybinding

lsp

lsp-installer

lua-colorscheme

nvim-dev

plugin-manager

preconfigured

snippet

startup

statusline

syntax

tabline

terminal-integration

test

utility

Language Servers

  • clangd
  • Ionide-Nvim
  • html
  • jsonls
  • lemminx
  • lua_ls
  • ols
  • omnisharp
  • sqlls

This readme was generated by Dotfyle