Spacevim: how to install custom plugin

Created on 8 Jan 2017  路  13Comments  路  Source: SpaceVim/SpaceVim

hi,
I want to install custom plugin however I can't intstall plugin for instance there is no autopairs plugin and I want to install it how I can install it.

Most helpful comment

This issue is too old, in current version of SpaceVim, we use toml as default configuration file, so if you want to add custom plugins, you could add:

# custom plugins {{{
[[custom_plugins]]
name = 'lilydjwg/colorizer'
merged = 0
# }}}

All 13 comments

This feature should be added, will do it.

hi thanks for your support and help. I read documentation and I added my custom plugin in this way.
but it did not installed. what is reason for this ?

let g:spacevim_custom_plugins = [
        \ ['jiangmiao/auto-pairs'],
        \ ]

it works well for me, when add this into config, the first time you start vim. SpaceVim will aotoinstall auto-pairs, then restart vim.

finally I fixed it. this is completely is my mistake. thank you for your help again.

Welcome

Would you add you custom plugins block within your init.vim file? I have...

let g:spacevim_custom_plugins = [
  \ ['fatih/vim-go',               { 'on_ft' : 'go'}],
  \ ['keith/swift.vim',            { 'on_ft' : 'swift'}],
  \ ['leafgarland/typescript-vim', { 'on_ft' : 'typescript' }],
  \ ]

But I don't have Swift highlighting? Might be an issue with the plugin itself, but thought I'd double check

This issue is too old, in current version of SpaceVim, we use toml as default configuration file, so if you want to add custom plugins, you could add:

# custom plugins {{{
[[custom_plugins]]
name = 'lilydjwg/colorizer'
merged = 0
# }}}

@wsdjeg
where to write custom_plugins config?

just press SPC f v d.

yes, for example I install aperezdc/vim-template, and want to set

let g:templates_directory = '~/.templates.fork'

how can i do that

please read online doc of spacevim

cann't find that

@qingzew put it in the bootstrap_before function.
https://spacevim.org/documentation/#bootstrap-functions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

linwaytin picture linwaytin  路  4Comments

zeroasterisk picture zeroasterisk  路  5Comments

keai4le picture keai4le  路  4Comments

teemola picture teemola  路  5Comments

fmind picture fmind  路  3Comments