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">
This commit is contained in:
parent
0c4555b60e
commit
8d83dc5457
@ -12823,6 +12823,18 @@ final: prev:
|
|||||||
meta.homepage = "https://github.com/folke/ts-comments.nvim/";
|
meta.homepage = "https://github.com/folke/ts-comments.nvim/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tsc-nvim = buildVimPlugin {
|
||||||
|
pname = "tsc.nvim";
|
||||||
|
version = "2024-08-14";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dmmulroy";
|
||||||
|
repo = "tsc.nvim";
|
||||||
|
rev = "82c37ebfe45d30763db6f45b54e18f1e485bb52c";
|
||||||
|
sha256 = "14fa5w73bxpvwy3jm25mmx08l2v6c1w35ca8gc61mayxja55d4ls";
|
||||||
|
};
|
||||||
|
meta.homepage = "https://github.com/dmmulroy/tsc.nvim/";
|
||||||
|
};
|
||||||
|
|
||||||
tslime-vim = buildVimPlugin {
|
tslime-vim = buildVimPlugin {
|
||||||
pname = "tslime.vim";
|
pname = "tslime.vim";
|
||||||
version = "2020-09-09";
|
version = "2020-09-09";
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
taskwarrior3,
|
taskwarrior3,
|
||||||
tmux,
|
tmux,
|
||||||
tup,
|
tup,
|
||||||
|
typescript,
|
||||||
vim,
|
vim,
|
||||||
which,
|
which,
|
||||||
xkb-switch,
|
xkb-switch,
|
||||||
@ -2610,6 +2611,14 @@ in
|
|||||||
nvimRequireCheck = "todo-comments";
|
nvimRequireCheck = "todo-comments";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tsc-nvim = super.tsc-nvim.overrideAttrs {
|
||||||
|
patches = [ ./patches/tsc.nvim/fix-path.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace lua/tsc/utils.lua --replace '@tsc@' ${typescript}/bin/tsc
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
tssorter-nvim = super.tssorter-nvim.overrideAttrs {
|
tssorter-nvim = super.tssorter-nvim.overrideAttrs {
|
||||||
dependencies = with self; [ nvim-treesitter ];
|
dependencies = with self; [ nvim-treesitter ];
|
||||||
nvimRequireCheck = "tssorter";
|
nvimRequireCheck = "tssorter";
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/lua/tsc/utils.lua b/lua/tsc/utils.lua
|
||||||
|
index 6433bcb..75760f9 100644
|
||||||
|
--- a/lua/tsc/utils.lua
|
||||||
|
+++ b/lua/tsc/utils.lua
|
||||||
|
@@ -16,7 +16,7 @@ M.find_tsc_bin = function()
|
||||||
|
return node_modules_tsc_binary
|
||||||
|
end
|
||||||
|
|
||||||
|
- return "tsc"
|
||||||
|
+ return "@tsc@"
|
||||||
|
end
|
||||||
|
|
||||||
|
--- @param run_mono_repo boolean
|
@ -1065,6 +1065,7 @@ https://github.com/folke/trouble.nvim/,,
|
|||||||
https://github.com/Pocco81/true-zen.nvim/,,
|
https://github.com/Pocco81/true-zen.nvim/,,
|
||||||
https://github.com/tesaguri/trust.vim/,HEAD,
|
https://github.com/tesaguri/trust.vim/,HEAD,
|
||||||
https://github.com/folke/ts-comments.nvim/,HEAD,
|
https://github.com/folke/ts-comments.nvim/,HEAD,
|
||||||
|
https://github.com/dmmulroy/tsc.nvim/,HEAD,
|
||||||
https://github.com/jgdavey/tslime.vim/,,
|
https://github.com/jgdavey/tslime.vim/,,
|
||||||
https://github.com/mtrajano/tssorter.nvim/,HEAD,
|
https://github.com/mtrajano/tssorter.nvim/,HEAD,
|
||||||
https://github.com/Quramy/tsuquyomi/,,
|
https://github.com/Quramy/tsuquyomi/,,
|
||||||
|
Loading…
Reference in New Issue
Block a user