mirror of
https://github.com/isabelroses/nvim.git
synced 2025-04-09 13:29:34 +00:00
fix: wakatime sucks so bad
This commit is contained in:
parent
fd0e1cd319
commit
33902b3938
6 changed files with 71 additions and 30 deletions
32
_sources/generated.json
generated
32
_sources/generated.json
generated
|
@ -291,7 +291,7 @@
|
|||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "charm-and-friends",
|
||||
"owner": "charm-community",
|
||||
"repo": "freeze.nvim",
|
||||
"rev": "10c10613b4bb92c0d1cd78848ffe2ef258ff6e6c",
|
||||
"sha256": "sha256-RULJ6Wg0h+vcEaOrY72xR1DlHZaSqJSvqdWNv9V76+E=",
|
||||
|
@ -721,7 +721,7 @@
|
|||
},
|
||||
"nvim-treesitter": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-09-03",
|
||||
"date": "2024-09-04",
|
||||
"extract": null,
|
||||
"name": "nvim-treesitter",
|
||||
"passthru": null,
|
||||
|
@ -733,11 +733,11 @@
|
|||
"name": null,
|
||||
"owner": "nvim-treesitter",
|
||||
"repo": "nvim-treesitter",
|
||||
"rev": "5b8b126de02ebfd92e46ed5986b3e58e870b85de",
|
||||
"sha256": "sha256-r1unao04iGQrgXIQraENe6Tx2MB5lYHcu5SwioC5VMI=",
|
||||
"rev": "3826d0c42ac635f560479b5b6ab522f6627a3466",
|
||||
"sha256": "sha256-6Q3Y4JLZhsXmDv9AQi70GfLmKhv6v5ziIAiJNbEqS+o=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "5b8b126de02ebfd92e46ed5986b3e58e870b85de"
|
||||
"version": "3826d0c42ac635f560479b5b6ab522f6627a3466"
|
||||
},
|
||||
"nvim-web-devicons": {
|
||||
"cargoLocks": null,
|
||||
|
@ -1117,5 +1117,25 @@
|
|||
"type": "github"
|
||||
},
|
||||
"version": "1d18c696c4284e9ce9467a5c04d3adf8af43f994"
|
||||
},
|
||||
"wakatime": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-07-20",
|
||||
"extract": null,
|
||||
"name": "wakatime",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "wakatime",
|
||||
"repo": "vim-wakatime",
|
||||
"rev": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23",
|
||||
"sha256": "0cikyb55z31jnh3zvm3xf8skfqdvdg3ihhb1z8xc1cxhx9gyc4hz",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
22
_sources/generated.nix
generated
22
_sources/generated.nix
generated
|
@ -173,7 +173,7 @@
|
|||
pname = "freeze-nvim";
|
||||
version = "10c10613b4bb92c0d1cd78848ffe2ef258ff6e6c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "charm-and-friends";
|
||||
owner = "charm-community";
|
||||
repo = "freeze.nvim";
|
||||
rev = "10c10613b4bb92c0d1cd78848ffe2ef258ff6e6c";
|
||||
fetchSubmodules = false;
|
||||
|
@ -435,15 +435,15 @@
|
|||
};
|
||||
nvim-treesitter = {
|
||||
pname = "nvim-treesitter";
|
||||
version = "5b8b126de02ebfd92e46ed5986b3e58e870b85de";
|
||||
version = "3826d0c42ac635f560479b5b6ab522f6627a3466";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-treesitter";
|
||||
repo = "nvim-treesitter";
|
||||
rev = "5b8b126de02ebfd92e46ed5986b3e58e870b85de";
|
||||
rev = "3826d0c42ac635f560479b5b6ab522f6627a3466";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-r1unao04iGQrgXIQraENe6Tx2MB5lYHcu5SwioC5VMI=";
|
||||
sha256 = "sha256-6Q3Y4JLZhsXmDv9AQi70GfLmKhv6v5ziIAiJNbEqS+o=";
|
||||
};
|
||||
date = "2024-09-03";
|
||||
date = "2024-09-04";
|
||||
};
|
||||
nvim-web-devicons = {
|
||||
pname = "nvim-web-devicons";
|
||||
|
@ -674,4 +674,16 @@
|
|||
};
|
||||
date = "2024-09-02";
|
||||
};
|
||||
wakatime = {
|
||||
pname = "wakatime";
|
||||
version = "53bba6bb8342de9cbdafc82142a9b5e82008d858";
|
||||
src = fetchFromGitHub {
|
||||
owner = "wakatime";
|
||||
repo = "vim-wakatime";
|
||||
rev = "53bba6bb8342de9cbdafc82142a9b5e82008d858";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-CSngCT6nf00nOwwbfze1gsRs+sFjN+uAR9ldZaN3Ags=";
|
||||
};
|
||||
date = "2024-07-20";
|
||||
};
|
||||
}
|
||||
|
|
13
flake.lock
generated
13
flake.lock
generated
|
@ -87,6 +87,7 @@
|
|||
},
|
||||
"neovim-nix": {
|
||||
"inputs": {
|
||||
"example": [],
|
||||
"flake-parts": [
|
||||
"flake-parts"
|
||||
],
|
||||
|
@ -98,16 +99,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722759719,
|
||||
"narHash": "sha256-bXQK4/KY79rATtb5ToNnUKiTVLC5MXcfaBNrq5AQRmE=",
|
||||
"owner": "isabelroses",
|
||||
"lastModified": 1725205441,
|
||||
"narHash": "sha256-go26fmPdyBgwzHMostxKFAg23HekfD/L/U2Fnl00JN8=",
|
||||
"owner": "nekowinston",
|
||||
"repo": "neovim.nix",
|
||||
"rev": "7e818f94e3cd8c1b680ced77e502e643cda15365",
|
||||
"rev": "36761e2fcd5e81fa3b39cb72d9fbcb92098edad8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "isabelroses",
|
||||
"ref": "dev",
|
||||
"owner": "nekowinston",
|
||||
"ref": "feat/more-plugin-spec-fields",
|
||||
"repo": "neovim.nix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
# };
|
||||
|
||||
neovim-nix = {
|
||||
url = "github:isabelroses/neovim.nix/dev";
|
||||
url = "github:nekowinston/neovim.nix/feat/more-plugin-spec-fields";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-parts.follows = "flake-parts";
|
||||
git-hooks.follows = "git-hooks";
|
||||
example.follows = "";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -224,3 +224,8 @@ src.git = "https://github.com/mbbill/undotree"
|
|||
[vim-fugitive]
|
||||
fetch.github = "tpope/vim-fugitive"
|
||||
src.git = "https://github.com/tpope/vim-fugitive"
|
||||
|
||||
[wakatime]
|
||||
fetch.github = "wakatime/vim-wakatime"
|
||||
src.git = "https://github.com/wakatime/vim-wakatime"
|
||||
pinned = true
|
||||
|
|
|
@ -188,11 +188,12 @@ rec {
|
|||
# copilot-cmp.src = srcs.copilot-cmp;
|
||||
copilot-lua = {
|
||||
src = srcs.copilot-lua;
|
||||
enabled = ''
|
||||
function()
|
||||
return vim.fn.glob("~/.config/gh/config.yml") ~= "" or vim.fn.glob("$XDG_CONFIG_HOME/gh/config.yml") ~= ""
|
||||
end
|
||||
'';
|
||||
enabled = # lua
|
||||
''
|
||||
function()
|
||||
return vim.fn.glob("~/.config/gh/config.yml") ~= "" or vim.fn.glob("$XDG_CONFIG_HOME/gh/config.yml") ~= ""
|
||||
end
|
||||
'';
|
||||
config = ./copilot.lua;
|
||||
event = "InsertEnter";
|
||||
};
|
||||
|
@ -333,14 +334,15 @@ rec {
|
|||
|
||||
# track my time coding
|
||||
wakatime = {
|
||||
enabled = ''
|
||||
function()
|
||||
return vim.fn.glob("~/.wakatime.cfg") ~= "" or vim.fn.glob("$WAKATIME_HOME/.wakatime.cfg") ~= ""
|
||||
end
|
||||
'';
|
||||
src = pkgs.vimPlugins.vim-wakatime;
|
||||
enabled = # lua
|
||||
''
|
||||
function()
|
||||
return vim.fn.glob("~/.wakatime.cfg") ~= "" or vim.fn.glob("$WAKATIME_HOME/.wakatime.cfg") ~= ""
|
||||
end
|
||||
'';
|
||||
src = srcs.wakatime;
|
||||
event = "VeryLazy";
|
||||
paths = [ pkgs.wakatime ];
|
||||
paths = [ pkgs.wakatime-cli ];
|
||||
};
|
||||
|
||||
ibl = {
|
||||
|
|
Loading…
Add table
Reference in a new issue