22 lines
518 B
Nix
22 lines
518 B
Nix
{ commonRC
|
|
,
|
|
... } @ args :
|
|
|
|
import ../../pkg-configuration/vim-derivates/vim.nix (args // {
|
|
name = "vim-for-pandoc";
|
|
additionalRC = commonRC + ''
|
|
set statusline+=%#warningmsg#
|
|
set statusline+=%{SyntasticStatuslineFlag()}
|
|
set statusline+=%*
|
|
|
|
let g:syntastic_always_populate_loc_list = 1
|
|
let g:syntastic_auto_loc_list = 1
|
|
let g:syntastic_check_on_open = 1
|
|
let g:syntastic_check_on_wq = 0
|
|
'';
|
|
additionalPlugins = [
|
|
"vim-pandoc"
|
|
"vim-pandoc-syntax"
|
|
"vimpreviewpandoc"
|
|
];
|
|
})
|