diff options
Diffstat (limited to 'nichijou/home/nvim.scm')
-rw-r--r-- | nichijou/home/nvim.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nichijou/home/nvim.scm b/nichijou/home/nvim.scm index 27c8608..6daa7ac 100644 --- a/nichijou/home/nvim.scm +++ b/nichijou/home/nvim.scm @@ -3,11 +3,11 @@ #:use-module (gnu packages vim) #:use-module (gnu services) #:use-module (guix gexp) + #:use-module (ice-9 optargs) #:use-module (nichijou packages vim)) -(define-public packages - (list neovim - vim-airline +(define plugins + (list vim-airline vim-airline-themes vim-bbye vim-ctrlp @@ -21,6 +21,10 @@ vim-syntastic vim-tagbar)) +(define*-public (get-packages #:key (foreign-distro? #f)) + (if foreign-distro? plugins + (const neovim plugins))) + (define-public services (list (simple-service 'nichijou-nvim-config home-files-service-type `((".config/nvim/init.vim" ,(local-file |