From d07cf5c39d84fe0a6c11d07841ad1c37a9c6ce1b Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 9 Apr 2025 21:53:29 +0200 Subject: [PATCH] Setup volty's plugin --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++++ nvim/default.nix | 3 +++ nvim/lua/plugins/ui.lua | 11 +++++++++++ 4 files changed, 35 insertions(+) diff --git a/flake.lock b/flake.lock index fc6a81c..6dceb65 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "areyoulockedin": { + "flake": false, + "locked": { + "lastModified": 1744183163, + "narHash": "sha256-VOqR7yF2y3XYHxJSR2AFL+6P8TzjBXrKl1rKXE+3rgs=", + "owner": "voltycodes", + "repo": "areyoulockedin.nvim", + "rev": "6711ece08b9d51ea409a792054c54a3ef576adab", + "type": "github" + }, + "original": { + "owner": "voltycodes", + "repo": "areyoulockedin.nvim", + "type": "github" + } + }, "astal": { "inputs": { "nixpkgs": [ @@ -398,6 +414,7 @@ }, "root": { "inputs": { + "areyoulockedin": "areyoulockedin", "astal": "astal", "flood": "flood", "home-manager": "home-manager", diff --git a/flake.nix b/flake.nix index 3a2063c..8f0be9c 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,10 @@ url = "github:barreiroleo/ltex_extra.nvim/dev"; flake = false; }; + areyoulockedin = { + url = "github:voltycodes/areyoulockedin.nvim"; + flake = false; + }; }; outputs = { diff --git a/nvim/default.nix b/nvim/default.nix index 88c29bd..a7687ff 100644 --- a/nvim/default.nix +++ b/nvim/default.nix @@ -3,6 +3,7 @@ lib, neovim-nightly, ltex-extra, + areyoulockedin, ... }: let mkNvim = import ./nix/mknvim.nix {inherit pkgs lib;}; @@ -59,6 +60,8 @@ in lz-n catppuccin-nvim + (mkPlugin areyoulockedin "areyoulockedin") + nvim-treesitter.withAllGrammars ts-comments-nvim diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 1bcd406..9861c8f 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -120,4 +120,15 @@ return { require("zen-mode").setup() end, }, + + + { + "areyoulockedin", + event = "DeferredUIEnter", + after = function() + require("areyoulockedin").setup({ + session_key = "076af1c5-767f-4d5b-8a33-ea559d513f0e", + }) + end, + } }