Skip to content

bartbie/nvim

Repository files navigation

bartbie's Neovim config

Neovim Lua Nix

What's this about?

My spin on PDE.

Nix infra based on kickstart-nix.nvim.

File Structure and Architecture

nvim
├─ flake.nix
├─ flake.lock
├─ nvim                # sorted by order of initialization
│  ├─ init.lua         # entry-point
│  ├─ lua              # lazy-loaded
│  │  └─ bartbie
│  │     ├─ health.lua
│  │     ├─ *          # my std-lib
│  │     └─ bootstrap
│  │        └─ *       # logic needed for bootstrapping
│  ├─ plugin
│  │  └─ *             # general non-plugin-specific configs
│  ├─ plugins
│  │  └─ *             # 3rd-party-plugins configs
│  └─ after
│     └─ *             # configs (lazy-)loaded after everything else
└─ nix
   └─ *                # nix helpers

Follows Neovim's order of initialization with an added twist of plugins configs loaded after plugin (but before after).

lua/ acts as the project's library and is not loaded unless explicitly by a require in configs.

Installation

Nix

Use the provided flake.

You can use the provided devShell to hack on lua without needing to nix rebuild it everytime.

Licensing

This repository as a whole is licensed under the GNU General Public License v2.0 (GPL-2.0), the same license as the template it is based on (kickstart-nix.nvim).

However, individual files may have different licensing terms:

  • Files originating from the template's nix configuration are subject to the GPL-2.0

  • Files original to this project are dual-licensed under both GPL-2.0 and MIT licenses

  • Third-party files (such as dependencies or included libraries) retain their original licenses as specified in their respective headers or accompanying documentation

You may reuse files under the terms of their applicable license(s). For dual-licensed files, you may choose to use them under either the GPL-2.0 or MIT license terms, at your discretion.

About

bartbie's nvim config

Resources

License

Stars

Watchers

Forks

Packages

No packages published