-
Notifications
You must be signed in to change notification settings - Fork 24
docs failed (LazyVim template) #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmmmm So, those files are in the store. lazy.nvim can't write to them If you want the tags to generate you will have to install them via lazy.nvim instead... I am exploring the options lazy.nvim has right now to see if there is a way to get it to generate to somewhere else? To be honest, I don't use lazy.nvim. I didn't think of this. I wonder if this is a thing we could look at doing in nixpkgs one day so that all nvim plugins from nix have this feature? you can look at the readmes in the store with |
Generally I try to steer people towards making their own configurations using lze or lz.n for lazy loading like the example template. The readme for the LazyVim template was really bad and failed at that goal. However I would also like to go through soon and improve the LazyVim template in general. |
id like to do it the way you suggest ^^ which cats template would you recommend to use? |
https://github.com/BirdeeHub/nixCats-nvim/tree/main/templates/example This is the main example template. Leave this issue open though I would like to see if I can solve the docs thing, and maybe add some extra categories for the worst offenders of the extras such as these ones. Or at least have people be more aware of the limitations of using LazyVim on nix. |
So, yeah LazyVim template, despite being not the suggested method, is also a little subpar right now. The kickstart one that also uses lazy.nvim works much better than the LazyVim one and I would like to make it at least closer to that. But yeah using lazy on nix just adds extra layers in between you and actually configuring the thing unless you are actually using lazy.nvim to download the stuff (and honestly, even then) |
can you please show your config? 00 |
Mines a mess but I put it here. I used to have it in my main config repo but I moved it into a separate flake again so I could link it and not confuse XD |
im all for minimizing abstractions, i cant keep too many things in my small head |
thanks, i will cannibalize it :3 |
do i understand right that it will work even without nix? as in, ill be able to clone it to .config/nvim on my rpi 5 or could i just install nix package manager on rpi as well? not sure how it works |
Well, not my personal one no. My personal one requires nix. It could Im just lazy and dont need it. The example config will though, it can just be cloned to ~/.config/nvim even without nix. |
Its a nix config framework, if you arent using nix then the example one falls back to downloading the plugins via paq and the lsps via mason, which it can do because it has a normal directory structure, but you do have to put the urls in there for paq and Im too lazy to do that in my personal config. All I would need to do is make a file with some urls in it though so if I need to for some reason I will. But yeah, I only use nix for it. |
honestly, for things like that, I personally would pass the resulting drv to pkgs.dockerTools or nix-appimage to make a thing I can copy onto stuff, rather than define downloads for paq. (docker produces smaller images but requires docker) It has a lot less error rate than mason (with mason failing pretty much every time on the first go because I forgot rust yet again) But usually I can install nix onto whatever it is and then I can just Its only truly dire situations where using paq as backup is required. I typically avoid not using nix because, honestly, so much trial and error installing an nvim config on a machine. Always some sort of dependency I forgot that I needed but cant install via mason or whatnot. |
sadly it seems that rpi 5 does not support nix yet |
awww ok, well, appimage, docker, or keep the list of urls up to date for paq are the options there then The list of urls being mentioned: |
ig ill go with the simplest one, which seems to be paq |
honestly, the appimage and docker are not that complex either you just pass the config to the bundler function at the end here is me doing it with nix-appimage Then you just nix build that output and copy it (mine is way too big tho... multiple GB... I keep meaning to refactor my config and make good use of my categories but never do because im too busy doing other stuff XD also docker images are notably smaller) The one from the example template is small enough to be buildable in a github release via action though |
the mason stuff is all handled in the LSPs/init.lua in the example config along with the rest of the lsp stuff |
Im going to work next on improving the LazyVim template though because I made the regrettable decision of adding it in the first place XD So I suppose my personal config refactor will have to wait for longer XD |
But yeah the errors were because you tried to update them via lazy when lazy wasnt what installed them basically |
it seems that i was wrong and nixos can actually work on rpi 5 (the repo was archived today for some reason which spooks me out) |
thats a wide pipeline entrance into nixCats. just wait for Vimjoyer to post a video or something haha |
Hopefully! But yeah right now, I have until core neovim starts working on remote plugin hosts to work on fixing this ill-advised template. Thats the only thing coming up (in 0.12, so a while from now) that forces me to change anything in the core of nixCats. So until then, templates and help. (seriously why did I do lazyvim to myself... I dont even like the config it gives XD but, ehh, it doesnt change that often, should be fine, maybe I learn some tricks for getting some random languages working nicely along the way) |
also, it doesnt need nixos, just nix itself |
and it makes a ton of sense that it would run on rpi actually, robotics engineers like both nix and rpi It being achived is a bit odd, did support get fully upstreamed or something? |
i have no idea what happened, it seemed to be very active and had recent changes and then boom, archived. |
Hello! Installed LazyVim template on nixos, using as flake. Lazy shows several errors regarding docs installation. I assume its something trivial but i have no experience in both nixos and nvim T~T
The text was updated successfully, but these errors were encountered: