diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 50049f7c825d..057306de99ee 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -18791,4 +18791,64 @@ final: prev: }; meta.homepage = "https://github.com/Chaitanyabsprip/fastaction.nvim/"; }; + + cmp-vimtex = buildVimPlugin { + pname = "cmp-vimtex"; + version = "2024-08-06"; + src = fetchFromGitHub { + owner = "micangl"; + repo = "cmp-vimtex"; + rev = "5283bf9108ef33d41e704027b9ef22437ce7a15b"; + sha256 = "pD2dPdpyn5A/uwonDdAxCX138yBeDqbXDdlG/IKjVTU="; + }; + meta.homepage = "https://github.com/micangl/cmp-vimtex/"; + }; + + luasnip-latex-snippets-nvim = buildVimPlugin { + pname = "luasnip-latex-snippets.nvim"; + version = "2024-09-16"; + src = fetchFromGitHub { + owner = "evesdropper"; + repo = "luasnip-latex-snippets.nvim"; + rev = "c6b5b5367dd4bb8419389f5acf528acf296adcdd"; + sha256 = "calv4nF1yxJyehQC+l0p4psI+f4Kg49K6XziCkH9I1Q="; + }; + meta.homepage = "https://github.com/evesdropper/luasnip-latex-snippets.nvim/"; + }; + + typst-conceal-vim = buildVimPlugin { + pname = "typst-conceal.vim"; + version = "2023-10-13"; + src = fetchFromGitHub { + owner = "MrPicklePinosaur"; + repo = "typst-conceal.vim"; + rev = "b8862f2d5a015b838e4a0d361f30423c45e23425"; + sha256 = "UHEVhlV/1cq6jaMhNNookeGPtHvSwy1AKLvb8FR6Rro="; + }; + meta.homepage = "https://github.com/MrPicklePinosaur/typst-conceal.vim/"; + }; + + typst-preview-nvim = buildVimPlugin { + pname = "typst-preview.nvim"; + version = "2024-10-24"; + src = fetchFromGitHub { + owner = "chomosuke"; + repo = "typst-preview.nvim"; + rev = "06778d1b3d4d29c34f1faf80947b586f403689ba"; + sha256 = "oBJ+G4jTQw6+MF/SMwaTkGlLQuYLbaAFqJkexf45I1g="; + }; + meta.homepage = "https://github.com/chomosuke/typst-preview.nvim"; + }; + + follow-md-links-nvim = buildVimPlugin { + pname = "follow-md-links.nvim"; + version = "2024-09-29"; + src = fetchFromGitHub { + owner = "jghauser"; + repo = "follow-md-links.nvim"; + rev = "41a6d74636b4209571680d40f20f59a0bf30bf57"; + sha256 = "ULQTE57SRA8uTuvg5LLJzcI5hOlXDrUwrHfm9+1pbe8="; + }; + meta.homepage = "https://github.com/jghauser/follow-md-links.nvim/"; + }; } diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 98a2eac494c3..48a50fdc4e4e 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -134,6 +134,9 @@ # must be lua51Packages luajitPackages, aider-chat, + # typst-preview dependencies + tinymist, + websocat, }: self: super: let @@ -2729,6 +2732,16 @@ in --replace "'zoxide_executable', 'zoxide'" "'zoxide_executable', '${zoxide}/bin/zoxide'" ''; }; + + typst-preview-nvim = super.typst-preview-nvim.overrideAttrs { + postPatch = '' + substituteInPlace lua/typst-preview/config.lua \ + --replace-fail "['tinymist'] = nil," "tinymist = '${lib.getExe tinymist}'," \ + --replace-fail "['websocat'] = nil," "websocat = '${lib.getExe websocat}'," + ''; + + nvimRequireCheck = "typst-preview"; + }; } // ( let diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 68ff2fb9321f..77a0d0ddef06 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -182,6 +182,7 @@ https://github.com/andersevenrud/cmp-tmux/,, https://github.com/ray-x/cmp-treesitter/,, https://github.com/lukas-reineke/cmp-under-comparator/,, https://github.com/dmitmel/cmp-vim-lsp/,HEAD, +https://github.com/micangl/cmp-vimtex/,HEAD, https://github.com/pontusk/cmp-vimwiki-tags/,HEAD, https://github.com/hrsh7th/cmp-vsnip/,, https://github.com/tamago324/cmp-zsh/,HEAD, @@ -343,6 +344,7 @@ https://github.com/floobits/floobits-neovim/,, https://github.com/akinsho/flutter-tools.nvim/,HEAD, https://github.com/nvim-focus/focus.nvim/,HEAD, https://github.com/anuvyklack/fold-preview.nvim/,HEAD, +https://github.com/jghauser/follow-md-links.nvim/,HEAD, https://github.com/mhartington/formatter.nvim/,, https://github.com/megaannum/forms/,, https://github.com/rubiin/fortune.nvim/,HEAD, @@ -522,6 +524,7 @@ https://github.com/barreiroleo/ltex_extra.nvim/,HEAD, https://github.com/arkav/lualine-lsp-progress/,, https://github.com/nvim-lualine/lualine.nvim/,, https://github.com/l3mon4d3/luasnip/,, +https://github.com/evesdropper/luasnip-latex-snippets.nvim/,HEAD, https://github.com/alvarosevilla95/luatab.nvim/,, https://github.com/rktjmp/lush.nvim/,, https://github.com/mkasa/lushtags/,, @@ -774,9 +777,9 @@ https://github.com/yorickpeterse/nvim-pqf/,HEAD, https://github.com/jamestthompson3/nvim-remote-containers/,HEAD, https://github.com/olrtg/nvim-rename-state/,HEAD, https://github.com/chrisgrieser/nvim-rip-substitute/,, +https://github.com/chrisgrieser/nvim-scissors/,HEAD, https://github.com/petertriho/nvim-scrollbar/,HEAD, https://github.com/dstein64/nvim-scrollview/,, -https://github.com/chrisgrieser/nvim-scissors,HEAD, https://github.com/s1n7ax/nvim-search-and-replace/,HEAD, https://github.com/garymjr/nvim-snippets/,, https://github.com/dcampos/nvim-snippy/,HEAD, @@ -1058,6 +1061,8 @@ https://github.com/folke/twilight.nvim/,, https://github.com/pmizio/typescript-tools.nvim/,, https://github.com/leafgarland/typescript-vim/,, https://github.com/jose-elias-alvarez/typescript.nvim/,, +https://github.com/MrPicklePinosaur/typst-conceal.vim/,HEAD, +https://github.com/chomosuke/typst-preview.nvim/,HEAD, https://github.com/kaarmu/typst.vim/,HEAD, https://github.com/nvchad/ui/,HEAD,nvchad-ui https://github.com/altermo/ultimate-autopair.nvim/,HEAD,