robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
cd23569
main
ivy is my custom nix configuration for neovim. it uses npins for plugin management and lynn.nvim for plugin configuration.
run via nix:
nix run git+https://codeberg.org/comfysage/ivy
components
pkgs/
this directory contains the nix packages within the setup. the most important
is ivy/.
pkgs/ivy/ is a neovim wrapper for the setup. it uses weave, which is a
special nix wrapper for neovim that makes including your own lua configuration
really easy and simple.
the ivy package merges the npins sources and treesitter grammars. these are
also merged with some vimPlugin's from nixpkgs for plugins that require build
steps - like blink.pairs.
the advantage of managing the plugins with npins is that they can be manually updated:
npins update lynn# or all of them npins update
config/
this is the actual lua configuration. this directory will get copied to the nix store and used as the config for the wrapper.
this directory contains some special subdirectories: lua/ivy/init.lua is the
entry point for the configuration. lua/ivy/plugins/ is a special directory
that specifies the plugin specs for lynn.nvim. lua/ivy/config contains
custom neovim options and settings. config/ contains the setup options for
all the plugins and will get sourced automatically by lynn.nvim. plugin/
contains some small plugin scripts that i've written.
lsp/ contains the lsp options for some lsp's that aren't supported by
nvim-lspconfig or need some special settings. snippets/ contains custom
snippets; these will get merged with snippets from friendly-snippets
1ivy is my custom nix configuration for neovim. it uses [npins] for plugin 2management and [lynn.nvim] for plugin configuration. 3 4run via nix: 5 6``` bash 7nix run git+https://codeberg.org/comfysage/ivy 8``` 9 10## components 11 12### `pkgs/` 13 14this directory contains the nix packages within the setup. the most important 15is `ivy/`. 16 17`pkgs/ivy/` is a neovim wrapper for the setup. it uses [weave], which is a 18special nix wrapper for neovim that makes including your own lua configuration 19really easy and simple. 20 21the `ivy` package merges the [npins] sources and treesitter grammars. these are 22also merged with some `vimPlugin`'s from nixpkgs for plugins that require build 23steps - like `blink.pairs`. 24 25the advantage of managing the plugins with npins is that they can be manually updated: 26 27``` bash 28npins update lynn 29 30# or all of them 31npins update 32``` 33 34### `config/` 35 36this is the actual lua configuration. this directory will get copied to the nix 37store and used as the config for the wrapper. 38 39this directory contains some special subdirectories: `lua/ivy/init.lua` is the 40entry point for the configuration. `lua/ivy/plugins/` is a special directory 41that specifies the plugin specs for [lynn.nvim]. `lua/ivy/config` contains 42custom neovim options and settings. `config/` contains the setup options for 43all the plugins and will get sourced automatically by [lynn.nvim]. `plugin/` 44contains some small plugin scripts that i've written. 45 46`lsp/` contains the lsp options for some lsp's that aren't supported by 47[nvim-lspconfig] or need some special settings. `snippets/` contains custom 48snippets; these will get merged with snippets from [friendly-snippets] 49 50[lynn.nvim] : https://github.com/comfysage/lynn.nvim 51[npins] : https://github.com/andir/npins 52[weave] : https://codeberg.org/comfysage/weave 53[nvim-lspconfig] : https://github.com/neovim/nvim-lspconfig 54[friendly-snippets] : https://github.com/rafamadriz/friendly-snippets