No description
Find a file
RingOfStorms (Joshua Bell) ee8d9d8c1c update pyright package
2024-05-06 11:25:49 -05:00
lua all the languages! 2024-05-03 18:56:57 -05:00
.gitignore use c-y for confirm 2024-05-02 14:08:33 -05:00
flake.lock several small updates 2024-05-02 23:51:15 -05:00
flake.nix update pyright package 2024-05-06 11:25:49 -05:00
init.lua all the languages! 2024-05-03 18:56:57 -05:00
README.md all the languages! 2024-05-03 18:56:57 -05:00

NVIM config

Goals:

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

Running

With Nix

nix run 'github:ringofstorms/nvim/nix-flake'

in NixOS

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

FUTURE