shione/nichijou/home/nvim.scm

32 lines
904 B
Scheme
Raw Normal View History

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)
#:use-module (ice-9 optargs)
2022-08-30 17:04:10 -04:00
#:use-module (nichijou packages vim))
(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))
(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"))))))