Coder Social home page Coder Social logo

nvimconfig's Introduction

(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

nvimconfig's People

Contributors

mehalter avatar willehrendreich avatar

Stargazers

 avatar Jonas Lara avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.