vimPlugins.tsc-nvim: init at 2024-08-14 (#357769)

* vimPlugins.tsc-nvim: init at 2024-08-14


---------

Co-authored-by: 347Online | Katie Janzen <"katiejanzen@347online.me">

authored by Katie Janzen 347Online | Katie Janzen and committed by GitHub 8d83dc54 0c4555b6

+35
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 12823 12823 meta.homepage = "https://github.com/folke/ts-comments.nvim/"; 12824 12824 }; 12825 12825 12826 + tsc-nvim = buildVimPlugin { 12827 + pname = "tsc.nvim"; 12828 + version = "2024-08-14"; 12829 + src = fetchFromGitHub { 12830 + owner = "dmmulroy"; 12831 + repo = "tsc.nvim"; 12832 + rev = "82c37ebfe45d30763db6f45b54e18f1e485bb52c"; 12833 + sha256 = "14fa5w73bxpvwy3jm25mmx08l2v6c1w35ca8gc61mayxja55d4ls"; 12834 + }; 12835 + meta.homepage = "https://github.com/dmmulroy/tsc.nvim/"; 12836 + }; 12837 + 12826 12838 tslime-vim = buildVimPlugin { 12827 12839 pname = "tslime.vim"; 12828 12840 version = "2020-09-09";
+9
pkgs/applications/editors/vim/plugins/overrides.nix
··· 57 57 taskwarrior3, 58 58 tmux, 59 59 tup, 60 + typescript, 60 61 vim, 61 62 which, 62 63 xkb-switch, ··· 2608 2609 todo-comments-nvim = super.todo-comments-nvim.overrideAttrs { 2609 2610 dependencies = [ self.plenary-nvim ]; 2610 2611 nvimRequireCheck = "todo-comments"; 2612 + }; 2613 + 2614 + tsc-nvim = super.tsc-nvim.overrideAttrs { 2615 + patches = [ ./patches/tsc.nvim/fix-path.patch ]; 2616 + 2617 + postPatch = '' 2618 + substituteInPlace lua/tsc/utils.lua --replace '@tsc@' ${typescript}/bin/tsc 2619 + ''; 2611 2620 }; 2612 2621 2613 2622 tssorter-nvim = super.tssorter-nvim.overrideAttrs {
+13
pkgs/applications/editors/vim/plugins/patches/tsc.nvim/fix-path.patch
··· 1 + diff --git a/lua/tsc/utils.lua b/lua/tsc/utils.lua 2 + index 6433bcb..75760f9 100644 3 + --- a/lua/tsc/utils.lua 4 + +++ b/lua/tsc/utils.lua 5 + @@ -16,7 +16,7 @@ M.find_tsc_bin = function() 6 + return node_modules_tsc_binary 7 + end 8 + 9 + - return "tsc" 10 + + return "@tsc@" 11 + end 12 + 13 + --- @param run_mono_repo boolean
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 1065 1065 https://github.com/Pocco81/true-zen.nvim/,, 1066 1066 https://github.com/tesaguri/trust.vim/,HEAD, 1067 1067 https://github.com/folke/ts-comments.nvim/,HEAD, 1068 + https://github.com/dmmulroy/tsc.nvim/,HEAD, 1068 1069 https://github.com/jgdavey/tslime.vim/,, 1069 1070 https://github.com/mtrajano/tssorter.nvim/,HEAD, 1070 1071 https://github.com/Quramy/tsuquyomi/,,