No description
Find a file
RingOfStorms (Joshua Bell) bdb29f4e51 change scroll off
2024-05-27 22:36:02 -05:00
lua change scroll off 2024-05-27 22:36:02 -05:00
.gitignore use c-y for confirm 2024-05-02 14:08:33 -05:00
flake.lock add telescope file manager 2024-05-20 14:07:50 -05:00
flake.nix add telescope file manager 2024-05-20 14:07:50 -05:00
init.lua all the languages! 2024-05-03 18:56:57 -05:00
README.md update readme 2024-05-13 19:24:47 -05:00

NVIM config

Goals:

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

Old pre nix config: 40eadc9 for reference

Running

With Nix

nix run 'github:ringofstorms/nvim'

in NixOS

-- in flake.nix#inputs
ringofstorms-nvim = {
  url = "github:RingOfStorms/nvim";
  inputs.nixpkgs.follows = "nixpkgs";
};
-- 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