From de266305ddfcaec0e3477164b4d9bdf1a596a124 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 17:10:01 +0200 Subject: Fix(hm/conf/neovim): Fully import nvim config through nixVim --- .../soispha/config/neovim/nixvim/default.nix | 49 ++++++++-------------- 1 file changed, 18 insertions(+), 31 deletions(-) (limited to 'home-manager/soispha/config/neovim/nixvim/default.nix') diff --git a/home-manager/soispha/config/neovim/nixvim/default.nix b/home-manager/soispha/config/neovim/nixvim/default.nix index f216fb05..a96bc476 100644 --- a/home-manager/soispha/config/neovim/nixvim/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/default.nix @@ -1,39 +1,26 @@ -{ - pkgs, - ... -}: { +{...}: { imports = [ - ./options - ./mappings - ./colorscheme + ./autocmds ./clipboard + ./mappings + ./options + ./plugins ]; programs.nixvim = { enable = true; - defaultEditor = true; - - # to install plugins just activate their modules - plugins = { - lsp = { - enable = true; - hls.enable = true; - rust-analyzer.enable = true; - }; - treesitter = { - enable = true; - indent = true; - }; - mini = { - enable = true; - ai.enable = true; - jump.enable = true; - }; - }; - # Not all plugins have own modules - # You can add missing plugins here - # `pkgs.vimExtraPlugins` is added by the overlay you added at the beginning - # For a list of available plugins, look here: [available plugins](https://github.com/jooooscha/nixpkgs-vim-extra-plugins/blob/main/plugins.md) - extraPlugins = [pkgs.vimExtraPlugins.nightfox-nvim]; + # source: https://www.patorjk.com/software/taag/#p=display&f=ANSI%20Shadow&t=Neovim + extraConfigLuaPre = '' + --------------------------------------------------------------------------- + -- + -- ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ + -- ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ + -- ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ + -- ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ + -- ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ + -- ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ + -- + --------------------------------------------------------------------------- + ''; }; } -- cgit 1.4.1