-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #605 from Gerg-L/main
flake: use nixpkgs fetchers for npins
- Loading branch information
Showing
40 changed files
with
2,450 additions
and
3,930 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -26,3 +26,6 @@ trim_trailing_whitespace = unset | |
|
||
[*.lock] | ||
indent_size = unset | ||
|
||
[npins/sources.json] | ||
insert_final_newline = unset |
This file contains 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
|
||
default.extend-ignore-words-re = ["(?i)(noice)", "befores", "annote", "viw"] | ||
files.extend-exclude = [ | ||
"npins/sources.json" | ||
] |
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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,35 @@ | ||
# Overriding plugins {#ch-overriding-plugins} | ||
|
||
The [additional plugins section](#sec-additional-plugins) details the addition | ||
of new plugins to nvf under regular circumstances, i.e. while making a pull | ||
request to the project. You may _override_ those plugins in your config | ||
to change source versions, e.g., to use newer versions of plugins | ||
that are not yet updated in **nvf**. | ||
|
||
```nix | ||
vim.pluginOverrides = { | ||
lazydev-nvim = pkgs.fetchFromGitHub { | ||
owner = "folke"; | ||
repo = "lazydev.nvim"; | ||
rev = ""; | ||
hash = ""; | ||
}; | ||
# It's also possible to use a flake input | ||
lazydev-nvim = inputs.lazydev-nvim; | ||
# Or a local path | ||
lazydev-nvim = ./lazydev; | ||
# Or a npins pin... etc | ||
}; | ||
``` | ||
|
||
This will override the source for the `neodev.nvim` plugin that is used in nvf | ||
with your own plugin. | ||
|
||
::: {.warning} | ||
|
||
While updating plugin inputs, make sure that any configuration that has been | ||
deprecated in newer versions is changed in the plugin's `setupOpts`. If you | ||
depend on a new version, requesting a version bump in the issues section is a | ||
more reliable option. | ||
|
||
::: |
This file contains 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 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 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 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.