This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.asvim: wrap via symlink in ~/.config

+10 -8
+10 -8
tools/astronvim/flake-module.nix
··· 73 73 # does not build yet on aarch64 74 74 ] ++ lib.optional (pkgs.stdenv.hostPlatform.system == "x86_64-linux") pkgs.deno; # lsp 75 75 nvim_config = pkgs.runCommand "nvim_config" { } '' 76 - mkdir -p $out/nvim/parser 76 + mkdir -p $out/parser 77 77 78 - ln -s ${inputs.astro-nvim}/* $out/nvim/ 79 - rm $out/nvim/lua 80 - mkdir -p $out/nvim/lua 81 - ln -s ${inputs.astro-nvim}/lua/* $out/nvim/lua 82 - ln -s ${./user} $out/nvim/lua/user 78 + ln -s ${inputs.astro-nvim}/* $out/ 79 + rm $out/lua 80 + mkdir -p $out/lua 81 + ln -s ${inputs.astro-nvim}/lua/* $out/lua 82 + ln -s ${./user} $out/lua/user 83 83 84 84 ${lib.concatMapStringsSep "\n" (name: '' 85 - ln -s ${pkgs.tree-sitter.builtGrammars."tree-sitter-${name}"}/parser $out/nvim/parser/${name}.so 85 + ln -s ${pkgs.tree-sitter.builtGrammars."tree-sitter-${name}"}/parser $out/parser/${name}.so 86 86 '') langs} 87 87 ''; 88 88 in { 89 89 packages.asvim = pkgs.writers.writeDashBin "asvim" '' 90 + set -efux 90 91 unset VIMINIT 91 92 export PATH=$PATH:${lib.makeBinPath nvim_deps} 92 - XDG_CONFIG_HOME=${nvim_config} ${pkgs.neovim}/bin/nvim "$@" 93 + ln -sfT ${nvim_config} "$HOME"/.config/lvim 94 + NVIM_APPNAME=lvim ${pkgs.neovim}/bin/nvim "$@" 93 95 ''; 94 96 }; 95 97 }