2022-08-30 17:04:10 -04:00
|
|
|
(define-module (nichijou home nvim)
|
|
|
|
#:use-module (gnu home services)
|
|
|
|
#:use-module (gnu packages vim)
|
|
|
|
#:use-module (gnu services)
|
|
|
|
#:use-module (guix gexp)
|
2022-09-09 11:57:30 -04:00
|
|
|
#:use-module (ice-9 optargs)
|
2022-08-30 17:04:10 -04:00
|
|
|
#:use-module (nichijou packages vim))
|
|
|
|
|
2022-09-09 11:57:30 -04:00
|
|
|
(define plugins
|
|
|
|
(list vim-airline
|
2022-08-30 17:04:10 -04:00
|
|
|
vim-airline-themes
|
|
|
|
vim-bbye
|
|
|
|
vim-ctrlp
|
|
|
|
vim-deoplete
|
|
|
|
vim-deoplete-vim-lsp
|
|
|
|
vim-detectindent
|
|
|
|
vim-doxygen-toolkit
|
|
|
|
vim-lsp
|
|
|
|
vim-nerdtree
|
|
|
|
vim-plantuml-syntax
|
|
|
|
vim-syntastic
|
|
|
|
vim-tagbar))
|
|
|
|
|
2022-09-09 11:57:30 -04:00
|
|
|
(define*-public (get-packages #:key (foreign-distro? #f))
|
|
|
|
(if foreign-distro? plugins
|
|
|
|
(const neovim plugins)))
|
|
|
|
|
2022-08-30 17:04:10 -04:00
|
|
|
(define-public services
|
|
|
|
(list (simple-service 'nichijou-nvim-config home-files-service-type
|
|
|
|
`((".config/nvim/init.vim" ,(local-file
|
|
|
|
"config/nvim/init.vim"))))))
|