Where to start when feeling overwhelmed? #353
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
😸 meow 😸 https://github.com/BirdeeHub/nixCats-nvim/tree/main/templates/simple Probably this template. I made this one in such a way that it uses the default things in nvim as much as possible (see :h 'rtp' also), and it also is just a function in a file which you provide a pkgs and nixCats and returns a neovim package. You can stick it directly into your nix config and for example it has an lsp setup using entirely the builtin vim.lsp options where to install the lsp you just add the lsp to the list Biggest tip I can give to not get lost, is start by looking at the template, and look at the help for what the sections in the nix stuff do, not the other way around. The rest outside of the 1 nix file that installs stuff is all nvim, and for learning basic nvim config, the lua in the simple template is probably the way to go. It doesnt make much use of the It is basically a template which contains more or less ONLY the setup functions and options for a few plugins as they offer them in their readmes with no ceremony, and a default lsp setup, put into the If you want the simple template as a separate flake rather than a function you can call which returns a package, you would move the things in the default.nix into this template, and put the new flake.nix in place of the default.nix but otherwise, nothing would need to change This is the docs for the neovim plugin, basically, the information from your package definitions set for your package just gets written into a lua table and it also lets you call them like functions with keynames to do a safe recursive table index. For all the sections in categoryDefinitions, this is the list For a short explanation of the packageDefintions set and how it works alongside the categoryDefinitions, that would be here and in the next section is all of the settings which you can use in the settings set within them For a list of all the functions in the utils set, that would be here but you probably wont need anything not already in the template for a while. As you get more comfortable with nvim config and how nixCats provides things to your config, feel free to steal from the more advanced example template |
Beta Was this translation helpful? Give feedback.

😸 meow 😸
https://github.com/BirdeeHub/nixCats-nvim/tree/main/templates/simple
Probably this template. I made this one in such a way that it uses the default things in nvim as much as possible (see :h 'rtp' also), and it also is just a function in a file which you provide a pkgs and nixCats and returns a neovim package. You can stick it directly into your nix config and
import ./thedir { inherit pkgs; inherit (inputs) nixCats }for example it has an lsp setup using entirely the builtin vim.lsp options where to install the lsp you just add the lsp to the list
Biggest tip I can give to not get lost, is start by looking at the template, and look at the help for what the sections in the nix st…