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 correct configure syntax highlight + pug + lsp + prettier + company? #108

Open
Artawower opened this issue Nov 15, 2020 · 0 comments

Comments

@Artawower
Copy link

Hello, i have a problem with configuration vue-mode with doom. Syntax highlighting work only for html, "go to definition" not work. I tried a lot but i don't know what i did wrong

image
image

my configuration

(use-package vue-mode
  :mode "\\.vue\\'"
  :hook (vue-mode . prettier-js-mode)
  :config
  (add-hook 'vue-mode-hook #'lsp)
  (setq prettier-js-args '("--parser vue")) ;; I tried disable this property
  (setq mmm-submode-decoration-level 0) ;; I tried change this value
  )

(setq mmm-js-mode-enter-hook (lambda () (setq syntax-ppss-table nil)))
(setq mmm-typescript-mode-enter-hook (lambda () (setq syntax-ppss-table nil)))

I also have tried use vue-mode without any configuration, and i got same result, i tried use vue-mode without any another packages from scratch, and got same result.

Environment

  • Doom v2.0.9
  • GNU Emacs 27.1
  • Vue mode 20190415.231

I'am newest in emacs, and i'am sorry if my questions looks stupid, i would want to achive something like my vim config

image

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