This repository has no description
0

Configure Feed

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

tools vim: disable luasnip

+3 -22
+1 -22
tools/astronvim/flake-module.nix
··· 87 87 ln -s ${pkgs.tree-sitter.builtGrammars."tree-sitter-${name}"}/parser $out/parser/${name}.so 88 88 '') langs} 89 89 ''; 90 - # https://github.com/kmarius/jsregexp 91 - jsregexp = pkgs.stdenv.mkDerivation { 92 - name = "jsregexp"; 93 - src = pkgs.fetchFromGitHub { 94 - owner = "kmarius"; 95 - repo = "jsregexp"; 96 - rev = "1f4fa8ff9570501230d88133537776869d333f12"; 97 - sha256 = "sha256-vE2N1VKaEBeJ8IHuP+n0MwIzmkpgh/Ak50nWJUVqfgM="; 98 - }; 99 - buildInputs = [ pkgs.luajit ]; 100 - installPhase = '' 101 - runHook preInstall 102 - install -m755 -D jsregexp.so $out/lib/jsregexp.so 103 - runHook postInstall 104 - ''; 105 - }; 106 90 in { 107 91 packages.vim = pkgs.writeShellScriptBin "vim" '' 108 92 set -efux ··· 113 97 }}/bin 114 98 export NVIM_APPNAME=${vim_appname} 115 99 mkdir -p $HOME/.config $HOME/.data/ 116 - nvim --headless -c 'quitall' 117 - 118 100 ln -sfT ${nvim_config} "$HOME"/.config/${vim_appname} 101 + nvim --headless -c 'quitall' 119 102 if [[ -d $HOME/.data/lvim/lazy/telescope-fzf-native.nvim ]]; then 120 103 mkdir -p "$HOME/.data/lvim/lazy/telescope-fzf-native.nvim/build" 121 104 ln -sf "${pkgs.vimPlugins.telescope-fzf-native-nvim}/build/libfzf.so" "$HOME/.data/lvim/lazy/telescope-fzf-native.nvim/build/libfzf.so" 122 105 fi 123 - if [[ -d $HOME/.data/lvim/lazy/LuaSnip/deps/jsregexp ]]; then 124 - ln -sf "${jsregexp}/lib/jsregexp.so" "$HOME/.data/lvim/lazy/LuaSnip/deps/jsregexp/jsregexp.so" 125 - fi 126 - 127 106 exec nvim "$@" 128 107 ''; 129 108 };
+2
tools/astronvim/user/plugins/core.lua
··· 35 35 }, 36 36 -- override make command build since we provide the shared library with home-manager already 37 37 { "nvim-telescope/telescope-fzf-native.nvim", build = "true", }, 38 + -- disable building since it's optional 39 + { "L3MON4D3/LuaSnip", build = "true", }, 38 40 39 41 -- You can disable default plugins as follows: 40 42 -- { "max397574/better-escape.nvim", enabled = false },