Neovim pug support? #4494
Replies: 3 comments
-
Syntax highlighting should be handled by neovim itself, not volar, right? |
Beta Was this translation helpful? Give feedback.
-
I was using vim-vue (+ vim-pug before), but it's not maintained. I'm not very familiar with how things work under the hood but I guess LSPs can do processing to provide semantic tokens, which neovim then uses for the syntax highlighting |
Beta Was this translation helpful? Give feedback.
-
This lsp does not handle all highlighting e.g. css, so you have to install separately. Not sure what are you using to handle syntax highlighting but if you are using treesitter, you can install it via |
Beta Was this translation helpful? Give feedback.
-
Is it possible to add
@vue/language-plugin-pug
to a Neovim lsp setup? I'm mainly looking to add syntax highlighting to<template lang="pug">
tags. Been trying a few different ways but it is not working. My config:Beta Was this translation helpful? Give feedback.
All reactions