Something went wrong. Try again.
A very fast neovim config :D
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ description = "psynyde's neovim config :D"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, treefmt-nix, }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; }; project = "Neovim Config"; in { devShells.default = pkgs.mkShell { name = project; LSP_SERVER = "lua_ls"; packages = with pkgs; [ lua stylua lua-language-server ]; shellHook = '' echo -e '(¬_¬") Entered ${project} :D' ''; }; formatter = treefmt-nix.lib.mkWrapper pkgs { projectRootFile = "flake.nix"; programs = { nixfmt.enable = true; stylua.enable = true; }; }; } );}