summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim/default.nix')
-rw-r--r--pkgs/custom-neovim/default.nix112
1 files changed, 34 insertions, 78 deletions
diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix
index 7a75368..f5d63e3 100644
--- a/pkgs/custom-neovim/default.nix
+++ b/pkgs/custom-neovim/default.nix
@@ -1,83 +1,39 @@
{
pkgs,
inputs,
-}: let
- git-plugins = import ./git-plugins.nix {inherit pkgs;};
-in
- inputs.mnw.lib.wrap pkgs {
- neovim = pkgs.neovim-unwrapped;
- plugins = with pkgs.vimPlugins; {
- dev.config = {
- pure = ./config;
- };
- start = [
- # Core Plugins
- mini-nvim # Ton of small modules.
- nvim-lspconfig # Adds lsp presets.
- actions-preview-nvim # Adds a selector for LSP actions.
- nvim-treesitter.withAllGrammars # All treesitter grammars.
- snacks-nvim # Many small modules.
- auto-session # Automatic session manager.
- nvim-ts-autotag # Autopair HTML tags.
- gitsigns-nvim # Git signcolumn.
- git-plugins.namu-nvim-git # LSP and colorscheme picker.
- vim-nix # Indenting for nix files.
- comment-nvim # Advanced commenting.
- fidget-nvim # Simple notification UI
- focus-nvim # Automatic split resizer and manager.
- render-markdown-nvim # Render markdown fancily.
- incline-nvim # Puts the filename in the winbar.
-
- git-plugins.profile-nvim-git
-
- # Completion
- nvim-cmp # Completer.
- cmp-buffer
- cmp-path
- cmp_luasnip
- cmp-nvim-lsp
- luasnip # Snippet manager.
- friendly-snippets # Snippet collection.
-
- # Colorschemes
- oxocarbon-nvim # IBM Carbon themes.
- rose-pine # Rose Pine themes.
- kanagawa-nvim # Kanagawa inspired themes.
- everforest # Green themes.
- nordic-nvim # Cool dark nordic theme.
- tokyonight-nvim
- nightfox-nvim # Varied colorscheme collection.
-
- # Miscellaneous Plugins
- presence-nvim # Discord RPC for nvim.
- cellular-automaton-nvim # Fun useless plugin.
- vim-wakatime # For hack club challenge.
- hardtime-nvim # Break bad vim habits.
- ];
- opt = [];
+}:
+inputs.mnw.lib.wrap pkgs {
+ neovim = pkgs.neovim-unwrapped;
+ plugins = with pkgs.vimPlugins; {
+ dev.config = {
+ pure = ./config;
+ impure = "/home/culsans/Sync/setup/pkgs/custom-neovim/config";
};
-
- luaFiles = [./config/init.lua];
-
- extraBinPath = with pkgs; [
- # LSP Servers
- lua-language-server # Lua LS
- nixd # Nix LS
- nil
- marksman # Markdown LS
-
- # Formatters
- alejandra # Nix Formatter
-
- # Extra Tools
- ripgrep
- fd
- cliphist
- lazygit
- luajitPackages.jsregexp
- gcc
-
- # Temporary
- wakatime-cli
+ start = [
+ # Not lazy loaded.
+ lz-n # Lazy loader
+ nvim-treesitter.withAllGrammars # All treesitter grammars
+ ];
+ opt = [
+ # Lazy loaded.
+ mini-clue
+ mini-pick
+ mini-statusline
+ mini-files
+ mini-extra
+ comment-nvim
+ vim-nix
+ nightfox-nvim
];
- }
+ };
+ luaFiles = [./config/init.lua];
+ extraBinPath = with pkgs; [
+ # LSP Servers
+ lua-language-server
+
+ # Extra Utils
+ ripgrep
+ gcc
+ fd
+ ];
+}