Advertisement
Guest User

Untitled

a guest
Jul 13th, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.67 KB | None | 0 0
  1. ------------ error output when I start nvim =--------------------
  2.  
  3. Error detected while processing function SpaceVim#custom#load[32]..<SNR>22_load_glob_conf[9]..SpaceVim#custom#apply:
  4. line    6:
  5. E121: Undefined variable: g:spacevim_complete
  6.  
  7. ------------ init.toml ---------------------
  8.  
  9. # All SpaceVim option below [option] section
  10. [options]
  11.     # set spacevim theme. by default colorscheme layer is not loaded,
  12.     # if you want to use more colorscheme, please load the colorscheme
  13.     # layer
  14.     colorscheme = "gruvbox"
  15.     background = "dark"
  16.     # Disable guicolors in basic mode, many terminal do not support 24bit
  17.     # true colors
  18.     enable_guicolors = true
  19.     # Disable statusline separator, if you want to use other value, please
  20.     # install nerd fonts
  21.     statusline_separator = "arrow"
  22.     statusline_inactive_separator = "arrow"
  23.     buffer_index_type = 4
  24.     enable_tabline_filetype_icon = true
  25.     enable_statusline_display_mode = false
  26.    
  27.     # vimfiler options
  28.     enable_vimfiler_gitstatus = true  
  29.     vimfiler_ignore_pattern='*\.pyc$\|GPATH\|GRTAGS\|GTAGS'
  30.  
  31.     bootstrap_before = "myspacevim#before”
  32.     # bootstrap_after = "myspacevim#after”
  33.  
  34. # Enable autocomplete layer
  35. [[layers]]
  36. name = 'autocomplete'
  37. auto-completion-return-key-behavior = "complete"
  38. auto-completion-tab-key-behavior = "smart"
  39.  
  40. [[layers]]
  41. name = 'shell'
  42. default_position = 'top'
  43. default_height = 30
  44.  
  45. [[layers]]
  46. name = 'lang#python'
  47.  
  48. [[layers]]
  49. name='tags'
  50.  
  51. ------------ myspacevim.vim (in .SpaceVim/autoload) ------------
  52. func! myspacevim#before() abort
  53.     let g:vimfiler_ignore_pattern=['^\.', '*\.pyc']
  54. endf
  55.  
  56. func! myspacevim#after() abort
  57.  
  58. endf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement