Enable build support by adding .onedev-buildspec.yml
lua Loading last commit info...
.gitignore
README.md
flake.lock
flake.nix
icon.webp
init.lua
README.md

NVIM config

Goals:

  • Works with or without nix
  • LSP integration with the current project's settings if available

Old pre nix config: https://git.joshuabell.xyz/nvim/~files/40eadc9b714fa29c5b28aca49f77c1ea62141763 for reference

Running

With Nix

nix run git+https://git.joshuabell.xyz/nvim

in NixOS

-- in flake.nix#inputs
ringofstorms-nvim = {
  url = "git+https://git.joshuabell.xyz/nvim";
};
-- in nix module
environment.systemPackages = with pkgs; [
  ringofstorms-nvim.packages.${settings.system.system}.neovim
];

Without Nix

TODO update this section

  • Must have all required programs installed and available on path
    • neovim >= 0.5
    • Evertying listed in flake.nix runtime dependencies variable near the top of the file
      • These must be available on the path
      • Treesitter/Lazy/Mason will install all other requirements needed on other systems
git clone https://github.com/RingOfStorms/nvim ~/.config/nvim
nvim --headless "+Lazy! sync" +qa

Backup existing config:

DATE=$(date +"%Y%m%d")
mv ~/.config/nvim ~/.config/nvim_$DATE.bak
mv ~/.local/share/nvim ~/.local/share/nvim_$DATE.bak
mv ~/.local/state/nvim ~/.local/state/nvim_$DATE.bak

or remove existing config:

rm -rf ~/.config/nvim 
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim 

NOTES/TODOS

  • See what linters/formaters to add or are the LSP's enough?
  • CSPELL/spelling linter

FUTURE

Please wait...
Page is in error, reload to recover