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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:Symbol鈥檚 value as variable is void: company-backends-nxml-mode #8496

Closed
wolfand11 opened this issue Mar 11, 2017 · 1 comment
Closed

Comments

@wolfand11
Copy link

wolfand11 commented Mar 11, 2017

Reproduction guide 馃

  • Start Emacs
  • write a text as below, save as xx.org.
#+BEGIN_SRC nxml
<test></test>
#+END_SRC
  • export this xx.org to html file
    Observed behaviour: 馃憖 馃挃
    export failed, and i got error message as below:
spacemacs//init-company-nxml-mode: Symbol鈥檚 value as variable is void: company-backends-nxml-mode

System Info 馃捇

  • OS: darwin
  • Emacs: 25.1.1
  • Spacemacs: 0.200.7
  • Spacemacs branch: master (rev. c2774bc)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: hybrid
  • Completion: helm
  • Layers:
((auto-completion :variables auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'cycle auto-completion-complete-with-key-sequence nil auto-completion-complete-with-key-sequence-delay 0.1 auto-completion-private-snippets-directory "~/Documents/MyCore/Config/EmacsConfig/Resource/snippets")
 chinese cscope git gtags markdown
 (plantuml :variables puml-plantuml-jar-path
           (expand-file-name "~/Documents/MyCore/Config/EmacsConfig/Resource/plantuml.jar"))
 org semantic
 (shell :variables shell-default-height 30 shell-default-position 'bottom)
 version-control wolfand11 prodigy
 (c-c   :variables c-c  -enable-clang-support t)
 emacs-lisp javascript python csharp lua)
  • System configuration features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
@wolfand11
Copy link
Author

wolfand11 commented Mar 11, 2017

i fixed the problem by add below config

(defun wolfand11/post-init-company ()
  (progn
    (when (configuration-layer/package-usedp 'company)
      (spacemacs|add-company-backends : modes lua-mode nxml-mode json-mode ))
    ))

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

No branches or pull requests

1 participant