-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
vimPlugins: remove buildVimPlugin from overrides.nix
#438708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4956762
vimPlugins.meson: move to non-generated
khaneliman 689e8e6
vimPlugins.ethersync: move to non-generated
khaneliman cfe8e54
vimPlugins.fzfWrapper: move to non-generated
khaneliman a15c556
vimPlugins.hurl: move to non-generated
khaneliman 0858bbc
vimPlugins.minsnip-nvim: remove plugin
khaneliman 648fd98
vimPlugins.phpactor: move to non-generated
khaneliman 4c8aa42
vimPlugins.skim: move to non-generated
khaneliman e90c4fc
vimPlugins.statix: move to non-generated
khaneliman cfe364f
vimPlugins.taskwarrior2: move to non-generated
khaneliman 37ffe2c
vimPlugins.taskwarrior3: move to non-generated
khaneliman aa88b95
vimPlugins.tup: move to non-generated
khaneliman c90c292
vimPlugins: shadow plugin builders in overrides.nix
khaneliman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
pkgs/applications/editors/vim/plugins/non-generated/ethersync/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| vimUtils, | ||
| ethersync, | ||
| }: | ||
| vimUtils.buildVimPlugin rec { | ||
| inherit (ethersync) | ||
| pname | ||
| version | ||
| src | ||
| meta | ||
| ; | ||
|
|
||
| sourceRoot = "${src.name}/nvim-plugin"; | ||
| } |
14 changes: 14 additions & 0 deletions
14
pkgs/applications/editors/vim/plugins/non-generated/fzf-wrapper/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| vimUtils, | ||
| fzf, | ||
| }: | ||
| # Mainly used as a dependency for fzf-vim. Wraps the fzf program as a vim | ||
| # plugin, since part of the fzf vim plugin is included in the main fzf | ||
| # program. | ||
| vimUtils.buildVimPlugin { | ||
| inherit (fzf) src version; | ||
| pname = "fzf"; | ||
| postInstall = '' | ||
| ln -s ${fzf}/bin/fzf $target/bin/fzf | ||
| ''; | ||
| } |
11 changes: 11 additions & 0 deletions
11
pkgs/applications/editors/vim/plugins/non-generated/hurl/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| vimUtils, | ||
| hurl, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| pname = "hurl"; | ||
| inherit (hurl) version; | ||
|
|
||
| # https://hurl.dev/ | ||
| src = "${hurl.src}/contrib/vim"; | ||
| } |
10 changes: 10 additions & 0 deletions
10
pkgs/applications/editors/vim/plugins/non-generated/meson/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| lib, | ||
| vimUtils, | ||
| meson, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| inherit (meson) pname version src; | ||
| preInstall = "cd data/syntax-highlighting/vim"; | ||
| meta.maintainers = with lib.maintainers; [ vcunat ]; | ||
| } |
16 changes: 16 additions & 0 deletions
16
pkgs/applications/editors/vim/plugins/non-generated/phpactor/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| vimUtils, | ||
| phpactor, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| inherit (phpactor) | ||
| pname | ||
| src | ||
| meta | ||
| version | ||
| ; | ||
| postPatch = '' | ||
| substituteInPlace plugin/phpactor.vim \ | ||
| --replace-fail "g:phpactorpath = expand('<sfile>:p:h') . '/..'" "g:phpactorpath = '${phpactor}'" | ||
| ''; | ||
| } |
9 changes: 9 additions & 0 deletions
9
pkgs/applications/editors/vim/plugins/non-generated/skim/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| vimUtils, | ||
| skim, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| pname = "skim"; | ||
| inherit (skim) version; | ||
| src = skim.vim; | ||
| } |
17 changes: 17 additions & 0 deletions
17
pkgs/applications/editors/vim/plugins/non-generated/statix/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| vimUtils, | ||
| statix, | ||
| }: | ||
| vimUtils.buildVimPlugin rec { | ||
| inherit (statix) pname src meta; | ||
| version = "0.1.0"; | ||
| postPatch = '' | ||
| # check that version is up to date | ||
| grep 'pname = "statix-vim"' -A 1 flake.nix \ | ||
| | grep -F 'version = "${version}"' | ||
|
|
||
| cd vim-plugin | ||
| substituteInPlace ftplugin/nix.vim --replace-fail statix ${statix}/bin/statix | ||
| substituteInPlace plugin/statix.vim --replace-fail statix ${statix}/bin/statix | ||
| ''; | ||
| } |
8 changes: 8 additions & 0 deletions
8
pkgs/applications/editors/vim/plugins/non-generated/taskwarrior2/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| vimUtils, | ||
| taskwarrior2, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| inherit (taskwarrior2) version pname; | ||
| src = "${taskwarrior2.src}/scripts/vim"; | ||
| } |
8 changes: 8 additions & 0 deletions
8
pkgs/applications/editors/vim/plugins/non-generated/taskwarrior3/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| vimUtils, | ||
| taskwarrior3, | ||
| }: | ||
| vimUtils.buildVimPlugin { | ||
| inherit (taskwarrior3) version pname; | ||
| src = "${taskwarrior3.src}/scripts/vim"; | ||
| } |
21 changes: 21 additions & 0 deletions
21
pkgs/applications/editors/vim/plugins/non-generated/tup/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| lib, | ||
| vimUtils, | ||
| tup, | ||
| }: | ||
| let | ||
| # Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim | ||
| ftdetect = builtins.toFile "tup.vim" '' | ||
| au BufNewFile,BufRead Tupfile,*.tup setf tup | ||
| ''; | ||
| in | ||
| vimUtils.buildVimPlugin { | ||
| inherit (tup) pname version src; | ||
| preInstall = '' | ||
| mkdir -p vim-plugin/syntax vim-plugin/ftdetect | ||
| cp contrib/syntax/tup.vim vim-plugin/syntax/tup.vim | ||
| cp "${ftdetect}" vim-plugin/ftdetect/tup.vim | ||
| cd vim-plugin | ||
| ''; | ||
| meta.maintainers = with lib.maintainers; [ enderger ]; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.