Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install custom plugin #73

Closed
xqey opened this issue Jan 8, 2017 · 16 comments
Closed

how to install custom plugin #73

xqey opened this issue Jan 8, 2017 · 16 comments
Assignees
Milestone

Comments

@xqey
Copy link

xqey commented Jan 8, 2017

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.

@wsdjeg
Copy link
Member

wsdjeg commented Jan 9, 2017

This feature should be added, will do it.

@wsdjeg wsdjeg added this to the 0.1.0 milestone Jan 9, 2017
@wsdjeg wsdjeg added the TODO label Jan 9, 2017
@wsdjeg wsdjeg self-assigned this Jan 9, 2017
@wsdjeg wsdjeg closed this as completed in #79 Jan 9, 2017
@wsdjeg wsdjeg removed the in progress label Jan 9, 2017
@xqey
Copy link
Author

xqey commented Jan 9, 2017

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'],
        \ ]

@wsdjeg
Copy link
Member

wsdjeg commented Jan 9, 2017

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

@wsdjeg wsdjeg reopened this Jan 9, 2017
@xqey
Copy link
Author

xqey commented Jan 9, 2017

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

@wsdjeg
Copy link
Member

wsdjeg commented Jan 10, 2017

Welcome

@wsdjeg wsdjeg closed this as completed Jan 10, 2017
@EwanValentine
Copy link

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

@wsdjeg wsdjeg modified the milestone: 0.1.0 Jan 22, 2017
@wsdjeg
Copy link
Member

wsdjeg commented May 30, 2018

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
# }}}

@qingzew
Copy link

qingzew commented Sep 12, 2018

@wsdjeg
where to write custom_plugins config?

@wsdjeg
Copy link
Member

wsdjeg commented Sep 12, 2018

just press SPC f v d.

@qingzew
Copy link

qingzew commented Sep 12, 2018

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

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

how can i do that

@wsdjeg
Copy link
Member

wsdjeg commented Sep 12, 2018

please read online doc of spacevim

@qingzew
Copy link

qingzew commented Sep 12, 2018

cann't find that

@liniminil
Copy link

liniminil commented Oct 2, 2018

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

@TheAlienMann
Copy link

TheAlienMann commented Mar 2, 2021

how should I install this plugin?

[Markdown preview, it’s got a nvim extension, I hink that is causing

https://github.com/iamcco/markdown-preview.nvim

@dereckson
Copy link
Contributor

dereckson commented Apr 2, 2022

Can you document how to write several plugins in the [[custom_plugins]] configuration block in TOML?

@wsdjeg
Copy link
Member

wsdjeg commented Apr 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants