Comments (4)
I have never done vue, could you please explain a little bit, does vue use normal html tags?
from emmet.
<template>
<div>
<p></p>
<p></p>
</div>
</template>
<script>
</script>
export default {
data(){
return {
nodes: (<template>
<div></div>
<div></div>
</template>)
}
}
}
<style>
</style>
from emmet.
Did you try adding vue filetypes in your ls_emmet
config?
from emmet.
I added vue support for markup languages.
Run this:
npm update -g ls_emmet
Update your config adding vue to the filetypes
local lspconfig = require'lspconfig'
local configs = require'lspconfig.configs'
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
if not configs.ls_emmet then
configs.ls_emmet = {
default_config = {
cmd = { 'ls_emmet', '--stdio' };
filetypes = {
'vue'
};
root_dir = function(fname)
return vim.loop.cwd()
end;
settings = {};
};
}
end
lspconfig.ls_emmet.setup { capabilities = capabilities }
from emmet.
Related Issues (16)
- Change between markup and stylesheets emmets based on context HOT 6
- Not getting completion for all emmet inputs HOT 4
- Use in Liquid Files HOT 2
- php and js HOT 4
- How can i change the priority? HOT 4
- Limit Markup for HTML HOT 5
- weird error with curly braces
- how to see all html tags?
- implement tags with classes HOT 9
- Cannot access configuration for ls_emmet. Ensure this server is listed in `server_configurations.md` or added as a custom server. HOT 11
- jsx should be className instead class HOT 2
- it doesn't work for me with `vsnip` HOT 13
- Can't get JSX to work HOT 18
- Add some test
- Question: Disable emmet withing the script tag. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emmet.