aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/nvim.scm
blob: 6daa7ac9bfc6003f0b32fbd5a18fb9e378f67b9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(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)
  #:use-module (nichijou packages vim))

(define plugins
  (list vim-airline
        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)))

(define-public services
  (list (simple-service 'nichijou-nvim-config home-files-service-type
                        `((".config/nvim/init.vim" ,(local-file
                                                     "config/nvim/init.vim"))))))