idk a bunch more updates

This commit is contained in:
Anish Lakhwara
2025-11-21 21:06:42 -08:00
parent baa309eb4b
commit 6edf5ecdfc
11 changed files with 182 additions and 34 deletions
+9 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
let
customPlugins = {
vim-zettel = pkgs.vimUtils.buildVimPlugin {
@@ -139,6 +139,9 @@ in
syntax match VimwikiPlaceholder /^\s*%link\ze\%(\s.*\)\?$/ nextgroup=VimwikiPlaceholderParam skipwhite
'';
# Private mode plugin for concealing buffer content (out of store symlink for live editing)
home.file.".config/nvim/lua/private-mode.lua".source = config.lib.file.mkOutOfStoreSymlink "${toString ./.}/private-mode.lua";
#environment.systemPackages = with customPlugins; [ tidal ];
programs.neovim = {
enable = true;
@@ -482,6 +485,10 @@ in
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
end
-- private mode
-- Setup private mode
require('private-mode').setup({ keymap = '<leader>pm' })
local luasnip = require("luasnip")
local lspkind = require("lspkind")
local cmp = require('cmp')
@@ -1206,7 +1213,7 @@ in
owner = "sourcegraph";
repo = "amp.nvim";
rev = "main";
sha256 = "1n6d8nbakyg6yiq8mhhrvmsp9z0zb8cb67820jsg3wl6vqd1vwv5";
sha256 = "sha256-+jIbAZjRpt30gcrIiwW+yZhT9CFLnW9ARf92GEfioZ0=";
};
})
];