mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 23:35:13 +00:00
Compare commits
No commits in common. "6e7e91fc111218917d67b9ee44f718633bddac33" and "14d25e4153781cdac2cbe0c7415e1bd445c2008e" have entirely different histories.
6e7e91fc11
...
14d25e4153
14 changed files with 51 additions and 55 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -1,5 +1,21 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"blink-cmp": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1739129359,
|
||||||
|
"narHash": "sha256-nUrXXiJ7NRxS21H53U323lwEKdo08Y011l8XskXC/vw=",
|
||||||
|
"owner": "saghen",
|
||||||
|
"repo": "blink.cmp",
|
||||||
|
"rev": "b2485c76cb7877de6fe9c8670af59ba3d72fd74d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "saghen",
|
||||||
|
"repo": "blink.cmp",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
|
@ -121,6 +137,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"blink-cmp": "blink-cmp",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"mnw": "mnw",
|
"mnw": "mnw",
|
||||||
|
|
|
||||||
|
|
@ -98,5 +98,10 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
blink-cmp = {
|
||||||
|
url = "github:saghen/blink.cmp";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{inputs, ...}: {
|
||||||
inputs,
|
|
||||||
self,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
perSystem = {
|
perSystem = {
|
||||||
system,
|
system,
|
||||||
inputs',
|
inputs',
|
||||||
|
|
@ -13,21 +9,14 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.self.overlays.default
|
inputs.self.overlays.default
|
||||||
|
|
||||||
(final: prev: {
|
(final: _: {
|
||||||
# Build nil from source to get most recent
|
# Build nil from source to get most recent
|
||||||
# features as they are added.
|
# features as they are added.
|
||||||
nil = inputs'.nil.packages.default;
|
nil = inputs'.nil.packages.default;
|
||||||
blink-cmp = let
|
blink-cmp = final.callPackage ./legacyPackages/blink-cmp.nix {
|
||||||
pin = self.pins.blink-cmp;
|
src = inputs.blink-cmp;
|
||||||
in
|
version = inputs.blink-cmp.shortRev or inputs.blink-cmp.shortDirtyRev or "dirty";
|
||||||
final.callPackage ./legacyPackages/blink-cmp.nix {
|
};
|
||||||
inherit (pin) version;
|
|
||||||
src = prev.fetchFromGitHub {
|
|
||||||
inherit (pin.repository) owner repo;
|
|
||||||
rev = pin.revision;
|
|
||||||
sha256 = pin.hash;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,16 @@
|
||||||
pname = "blink-fuzzy-lib";
|
pname = "blink-fuzzy-lib";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
# TODO: remove this if plugin stops using nightly rust
|
env = {
|
||||||
env.RUSTC_BOOTSTRAP = true;
|
# TODO: remove this if plugin stops using nightly rust
|
||||||
|
RUSTC_BOOTSTRAP = true;
|
||||||
|
};
|
||||||
nativeBuildInputs = [git];
|
nativeBuildInputs = [git];
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = "${src}/Cargo.lock";
|
lockFile = "${src}/Cargo.lock";
|
||||||
allowBuiltinFetchGit = true;
|
allowBuiltinFetchGit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
libExt =
|
libExt =
|
||||||
if hostPlatform.isDarwin
|
if hostPlatform.isDarwin
|
||||||
then "dylib"
|
then "dylib"
|
||||||
|
|
|
||||||
|
|
@ -30,19 +30,17 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["chatgpt-nvim"];
|
startPlugins = [
|
||||||
|
"chatgpt"
|
||||||
|
];
|
||||||
pluginRC.chagpt = entryAnywhere ''
|
pluginRC.chagpt = entryAnywhere ''
|
||||||
require("chatgpt").setup(${toLuaObject cfg.setupOpts})
|
require("chatgpt").setup(${toLuaObject cfg.setupOpts})
|
||||||
'';
|
'';
|
||||||
|
maps.normal = mkMerge [
|
||||||
maps = {
|
(mkSetBinding mappings.chatGpt "<cmd>ChatGPT<CR>")
|
||||||
visual = maps;
|
maps
|
||||||
normal = mkMerge [
|
];
|
||||||
(mkSetBinding mappings.chatGpt "<cmd>ChatGPT<CR>")
|
maps.visual = maps;
|
||||||
maps
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,8 +75,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
extraServerPlugins = {
|
extraServerPlugins = {
|
||||||
omnisharp = ["omnisharp-extended-lsp-nvim"];
|
omnisharp = ["omnisharp-extended"];
|
||||||
csharp_ls = ["csharpls-extended-lsp-nvim"];
|
csharp_ls = ["csharpls-extended"];
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = config.vim.languages.csharp;
|
cfg = config.vim.languages.csharp;
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ in {
|
||||||
vim.startPlugins =
|
vim.startPlugins =
|
||||||
if ftcfg.enableNoResolvePatch
|
if ftcfg.enableNoResolvePatch
|
||||||
then ["flutter-tools-patched"]
|
then ["flutter-tools-patched"]
|
||||||
else ["flutter-tools-nvim"];
|
else ["flutter-tools"];
|
||||||
|
|
||||||
vim.pluginRC.flutter-tools = entryAnywhere ''
|
vim.pluginRC.flutter-tools = entryAnywhere ''
|
||||||
require('flutter-tools').setup {
|
require('flutter-tools').setup {
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf cfg.elixir-tools.enable {
|
(mkIf cfg.elixir-tools.enable {
|
||||||
vim.startPlugins = ["elixir-tools-nvim"];
|
vim.startPlugins = ["elixir-tools"];
|
||||||
vim.pluginRC.elixir-tools = entryAnywhere ''
|
vim.pluginRC.elixir-tools = entryAnywhere ''
|
||||||
local elixir = require("elixir")
|
local elixir = require("elixir")
|
||||||
local elixirls = require("elixir.elixirls")
|
local elixirls = require("elixir.elixirls")
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ in {
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
(mkIf cfg.extensions."ts-error-translator".enable {
|
(mkIf cfg.extensions."ts-error-translator".enable {
|
||||||
vim.startPlugins = ["ts-error-translator-nvim"];
|
vim.startPlugins = ["ts-error-translator"];
|
||||||
vim.pluginRC.ts-error-translator = entryAnywhere ''
|
vim.pluginRC.ts-error-translator = entryAnywhere ''
|
||||||
require("ts-error-translator").setup(${toLuaObject cfg.extensions.ts-error-translator.setupOpts})
|
require("ts-error-translator").setup(${toLuaObject cfg.extensions.ts-error-translator.setupOpts})
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@ in {
|
||||||
config = mkIf cfg.enable (mkMerge [
|
config = mkIf cfg.enable (mkMerge [
|
||||||
{
|
{
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["orgmode"];
|
startPlugins = [
|
||||||
|
"orgmode-nvim"
|
||||||
|
];
|
||||||
|
|
||||||
binds.whichKey.register = pushDownDefault {
|
binds.whichKey.register = pushDownDefault {
|
||||||
"<leader>o" = "+Notes";
|
"<leader>o" = "+Notes";
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ in {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins =
|
startPlugins =
|
||||||
[
|
[
|
||||||
"neovim-session-manager"
|
"nvim-session-manager"
|
||||||
"plenary-nvim"
|
"plenary-nvim"
|
||||||
]
|
]
|
||||||
++ optionals cfg.usePicker ["dressing-nvim"];
|
++ optionals cfg.usePicker ["dressing-nvim"];
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["cellular-automaton-nvim"];
|
startPlugins = ["cellular-automaton"];
|
||||||
|
|
||||||
maps.normal = mkBinding cfg.mappings.makeItRain "<cmd>CellularAutomaton make_it_rain<CR>" "Make it rain";
|
maps.normal = mkBinding cfg.mappings.makeItRain "<cmd>CellularAutomaton make_it_rain<CR>" "Make it rain";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["tiny-devicons-auto-colors-nvim" "nvim-web-devicons"];
|
startPlugins = ["tiny-devicons-auto-colors" "nvim-web-devicons"];
|
||||||
|
|
||||||
pluginRC.tiny-devicons-auto-colors = entryAnywhere ''
|
pluginRC.tiny-devicons-auto-colors = entryAnywhere ''
|
||||||
require("tiny-devicons-auto-colors").setup(${toLuaObject cfg.setupOpts})
|
require("tiny-devicons-auto-colors").setup(${toLuaObject cfg.setupOpts})
|
||||||
|
|
|
||||||
|
|
@ -36,21 +36,6 @@
|
||||||
"url": "https://github.com/rrethy/base16-nvim/archive/6ac181b5733518040a33017dde654059cd771b7c.tar.gz",
|
"url": "https://github.com/rrethy/base16-nvim/archive/6ac181b5733518040a33017dde654059cd771b7c.tar.gz",
|
||||||
"hash": "0q47jbh6abn2hql9ghi9ayx3l8pdrdcdrnf4qfk7cp0v1bl7y48r"
|
"hash": "0q47jbh6abn2hql9ghi9ayx3l8pdrdcdrnf4qfk7cp0v1bl7y48r"
|
||||||
},
|
},
|
||||||
"blink-cmp": {
|
|
||||||
"type": "GitRelease",
|
|
||||||
"repository": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"owner": "saghen",
|
|
||||||
"repo": "blink.cmp"
|
|
||||||
},
|
|
||||||
"pre_releases": false,
|
|
||||||
"version_upper_bound": null,
|
|
||||||
"release_prefix": null,
|
|
||||||
"version": "v0.11.0",
|
|
||||||
"revision": "7a70199efe4e333a3693ba3e56ddbec3b9c9c330",
|
|
||||||
"url": "https://api.github.com/repos/saghen/blink.cmp/tarball/v0.11.0",
|
|
||||||
"hash": "1j3sj03i72iw5npwwksc7w7axv8z0nbgi11adkfng9ak73kn1gdq"
|
|
||||||
},
|
|
||||||
"blink-compat": {
|
"blink-compat": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue