Conner Ohnesorge's Personal Neovim Configuration.
Languages setup for:
- Clone this repository into your Neovim configuration directory.
For example, for linux and MacOS:
git clone https://github.com/connerohnesorge/nvim ~/.config/nvimFor windows:
git clone https://github.com/connerohnesorge/nvim %USERPROFILE%\AppData\Local\nvim- Open Neovim.
nvimflake.nix builds this config with nvf. Every plugin and treesitter grammar comes from the Nix store, so nothing is cloned at runtime. It needs Nix with flakes enabled.
nix run github:connerohnesorge/nvimPass Neovim arguments after --:
nix run github:connerohnesorge/nvim -- file.goFrom a local checkout, run nix run .#.
The first run downloads about 300 treesitter grammars and all plugins, so it is slow. State (macros, snippets, undo, shada) lives in the normal ~/.config/nvim and ~/.local/share/nvim directories, the same as plain nvim.
On a Pantheon computer, the build can fail with chmod: ... Operation not permitted because /nix/var/nix/builds has the setgid bit. Use a build directory without it:
mkdir -p ~/nix-build
nix run --option build-dir ~/nix-build github:connerohnesorge/nvimAdding a plugin spec under lua/plugins also requires adding it to the plugins set in flake.nix.
Defaults merging rules:
cmd: the list of commands will be extended with your custom commandsevent: the list of events will be extended with your custom eventsft: the list of filetypes will be extended with your custom filetypeskeys: the list of keymaps will be extended with your custom keymapsopts: your custom options will be merged with the default optionsdependencies: the list of dependencies will be extended with your custom dependencies any other property will override the defaultsenabled: Enables or disables the plugin