feat: add a bunch of plugins

This commit is contained in:
♥ Minnie ♥ 2025-04-04 23:39:33 +08:00
parent 92dcce1c43
commit e08990b2db
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
9 changed files with 36 additions and 22 deletions

View file

@ -11,17 +11,14 @@
./plugins/cmp/cmp.nix
./plugins/cmp/copilot.nix
# Snippets
./plugins/snippets/luasnip.nix
# Editor plugins and configurations
./plugins/editor/bufdelete.nix
./plugins/editor/comment.nix
./plugins/editor/neo-tree.nix
./plugins/editor/treesitter.nix
# UI plugins
./plugins/ui/lualine.nix
./plugins/ui/neo-tree.nix
./plugins/ui/web-devicons.nix
# LSP and formatting
@ -35,7 +32,10 @@
# Utils
./plugins/utils/markdown-preview.nix
./plugins/utils/obsidian.nix
./plugins/utils/render-markdown.nix
./plugins/utils/telescope.nix
./plugins/utils/todo-comments.nix
./plugins/utils/whichkey.nix
];
}

View file

@ -6,6 +6,7 @@
showmode = false; # Do not show the mode we're editing in.
swapfile = false; # Disable vim swapfile.
clipboard = "unnamedplus"; # Use the clipboard for all operations.
conceallevel = 1; # Show concealed characters (like markdown).
# Tabs & Spaces
tabstop = 2; # Set the width of a tab character.

View file

@ -18,11 +18,11 @@
{ # Filesystem paths
name = "path";
}
}
{ # Command line
name = "cmdline";
}
{ # Markdown
name = "render_markdown";
}
];
# Key mappings for the completion menu.

View file

@ -1,5 +0,0 @@
{ ... }:
{
}

View file

@ -1,9 +0,0 @@
{...}: {
plugins.luasnip = {
enable = true;
settings = {
enable_autosnippets = true;
store_selection_keys = "<Tab>";
};
};
}

View file

@ -0,0 +1,17 @@
{...}: {
plugins.obsidian = {
enable = true;
settings = {
completion = {
nvim_cmp = true;
};
new_notes_location = "current_dir";
workspaces = [
{
name = "vault";
path = "/home/sajenim/.obsidian_vault";
}
];
};
};
}

View file

@ -0,0 +1,5 @@
{...}: {
plugins.render-markdown = {
enable = true;
};
}

View file

@ -0,0 +1,5 @@
{...}: {
plugins.todo-comments = {
enable = true;
};
}