All Projects → chemzqm → Wxapp.vim

chemzqm / Wxapp.vim

提供微信小程序开发全方位支持的 vim 插件

Labels

Projects that are alternatives of or similar to Wxapp.vim

Thorui
ThorUI组件库,微信小程序项目代码分享,组件文档地址:https://www.thorui.cn/doc 。 最近更新时间:2021-01-19
Stars: ✭ 817 (+101.73%)
Mutual labels:  wxml, wxss
Wuss Weapp
🐳wuss-weapp 一款高质量,组件齐全,高自定义的微信小程序UI组件库
Stars: ✭ 338 (-16.54%)
Mutual labels:  wxml, wxss
Mpvue Loader
mpvue loader
Stars: ✭ 47 (-88.4%)
Mutual labels:  wxml, wxss
Weapp demos
持续更新中的微信小程序和小游戏的源码案例库。目前涵盖了120多个微信小程序或小游戏。
Stars: ✭ 2,466 (+508.89%)
Mutual labels:  wxml, wxss
Toilet Webapp
微信版小明找厕所V2.0,升级为本地微信自带的地图路径规划、在地图上显示所有marker点、添加关于页面。主要功能包括:1.可以在地图上面展示所有厕所的位置,并且标记,2.直接在小程序端进行路径规划,3.ios和android一样默认选择步行方式,4.制作关于界面
Stars: ✭ 240 (-40.74%)
Mutual labels:  wxml, wxss
Hswiper Wx
微信小程序swiper插件
Stars: ✭ 167 (-58.77%)
Mutual labels:  wxml, wxss
Tina
💃 一款轻巧的渐进式微信小程序框架
Stars: ✭ 1,153 (+184.69%)
Mutual labels:  wxml, wxss
Wxappunpacker
wxml被“编译“后”压缩“一下多好!😀
Stars: ✭ 4,487 (+1007.9%)
Mutual labels:  wxml, wxss
XcxComponentsDemo
微信小程序组件化方案示例
Stars: ✭ 13 (-96.79%)
Mutual labels:  wxss, wxml
Mina Webpack
🍱 Mina single-file-component meets Webpack
Stars: ✭ 77 (-80.99%)
Mutual labels:  wxml, wxss
Wxapp Redux Starter
微信小程序,集成redux,并且提供了方便快捷的开发环境;内置好奇心日报Demo...
Stars: ✭ 205 (-49.38%)
Mutual labels:  wxml, wxss
Weapp
🐧 微信小程序组件和功能封装,基于微信Component自定义组件开发
Stars: ✭ 235 (-41.98%)
Mutual labels:  wxml, wxss
Autocomplete Wx
一款atom插件,支持微信语法高亮和代码补全
Stars: ✭ 47 (-88.4%)
Mutual labels:  wxml, wxss
Wemark
微信小程序Markdown渲染库
Stars: ✭ 1,159 (+186.17%)
Mutual labels:  wxml, wxss
Wxapp toutiaonews
📰微信小程序--头条新闻
Stars: ✭ 119 (-70.62%)
Mutual labels:  wxml, wxss
Oncelove
婚礼请柬小程序
Stars: ✭ 209 (-48.4%)
Mutual labels:  wxml, wxss
wxml-transformer
将微信小程序的wxml代码转换成js object或html片段
Stars: ✭ 18 (-95.56%)
Mutual labels:  wxml
black horse mall project
品优购,微信小程序电商项目,适合各位拿来学习,可以动动发财的小手点个小star⭐
Stars: ✭ 72 (-82.22%)
Mutual labels:  wxml
vscode-wxml
Wechat wxml support and wxml code snippets for VSCode
Stars: ✭ 19 (-95.31%)
Mutual labels:  wxml
Vscode Miniapp Helper
微信小程序开发助手 for VSCode
Stars: ✭ 137 (-66.17%)
Mutual labels:  wxml

Wxapp.vim

微信小程序开发 vim 插件。

提供包含文件检测、语法高亮、缩进、代码片段功能。

推荐使用 coc.nvim 获得小程序 LSP 支持,例如:

  • 智能补全
  • 语法检查
  • 文档查看

详细文档: Coc 小程序开发支持

Mac 用户推荐使用小程序 Dash 文档: chemzqm/wx-dash

目录

安装方式

以下分别是使用 NeoBundle vim-plug 安装的命令:

NeoBundle 'chemzqm/wxapp.vim'
Plug 'chemzqm/wxapp.vim'

功能列表

推荐插件

  • xml.vim 用于辅助编辑 xml 文件, 包含自动添加匹配标签、快速修改/删除标签等功能。

  • emmet-vim 快速生成 xml 和 css, 参考配置:

      let g:user_emmet_settings = {
      \ 'wxss': {
      \   'extends': 'css',
      \ },
      \ 'wxml': {
      \   'extends': 'html',
      \   'aliases': {
      \     'div': 'view',
      \     'span': 'text',
      \   },
      \  'default_attributes': {
      \     'block': [{'wx:for-items': '{{list}}','wx:for-item': '{{item}}'}],
      \     'navigator': [{'url': '', 'redirect': 'false'}],
      \     'scroll-view': [{'bindscroll': ''}],
      \     'swiper': [{'autoplay': 'false', 'current': '0'}],
      \     'icon': [{'type': 'success', 'size': '23'}],
      \     'progress': [{'precent': '0'}],
      \     'button': [{'size': 'default'}],
      \     'checkbox-group': [{'bindchange': ''}],
      \     'checkbox': [{'value': '', 'checked': ''}],
      \     'form': [{'bindsubmit': ''}],
      \     'input': [{'type': 'text'}],
      \     'label': [{'for': ''}],
      \     'picker': [{'bindchange': ''}],
      \     'radio-group': [{'bindchange': ''}],
      \     'radio': [{'checked': ''}],
      \     'switch': [{'checked': ''}],
      \     'slider': [{'value': ''}],
      \     'action-sheet': [{'bindchange': ''}],
      \     'modal': [{'title': ''}],
      \     'loading': [{'bindchange': ''}],
      \     'toast': [{'duration': '1500'}],
      \     'audio': [{'src': ''}],
      \     'video': [{'src': ''}],
      \     'image': [{'src': '', 'mode': 'scaleToFill'}],
      \   }
      \ },
      \}
    

    如果你已经配置了变量 g:user_emmet_settings, 注意避免重复设置。

LICENSE

Copyright 2016 [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].