openscad.vim


Ⅰ. 插件描述

Vim syntax highlighting for the OpenSCAD language

Ⅱ. 基本信息

创建日期:  2011-04-19
使用用户:  135
Github星:  54
插件作者:  Sirtaj Singh Kang

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'sirtaj/openscad-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'sirtaj/openscad-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'sirtaj/openscad-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/sirtaj/vim-openscad

Ⅳ. 文档说明

vim-openscad

This is a quick hack at Vim syntax highlighting for the OpenSCAD 3D modeling
language -- http://www.openscad.org/

Note that at the moment it doesn't help detect errors such as mismatched blocks
and parens.

TODOs include error management and quickfix/compiler support.

This script has been published for some time on vim.org at:

http://www.vim.org/scripts/script.php?script_id=3556

Installation

You can simply copy the ftdetect and syntax dirs to your .vim or vimfiles

  1. The layout should also be fine for auto install if you use pathogen,
  2. or some similar vim plugin system.

The ftdetect file associates all .scad files with this plugin.

License

Public domain. I request that you inform me if you fork this and/or
redistribute modified versions, but you're under no legal obligation to do so.

Author/Maintainer

Sirtaj Singh Kang <sirtaj@sirtaj.net>

添加新评论