textmate-hjson


Ⅰ. 插件描述

Hjson syntax for TextMate compatible Editors

Ⅱ. 基本信息

创建日期:  2016-09-18
使用用户:  1
Github星:  6
插件作者:  Hjson

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# TextMate compatible Syntax for Hjson

A lot of editors support TextMate compatible syntax definitions. You can use this package to install Hjson syntax highlighting support.

IntelliJ Installation

  • Install TextMate bundles support
    (if it is not installed already)

    • Open Preferences/Plugins
    • Click Install JetBrains plugin...
    • Type "textmate" in the search box
    • Install "TextMate bundles support"
    • Restart IntelliJ
  • Install Hjson syntax

    • clone or download this repo
      git clone https://github.com/hjson/textmate-hjson.git
    • Open Preferences/Editor in IntelliJ
    • Select Textmate Bundles
    • Click on + and select the textmate-hjson folder
    • Depending on your color scheme you may wish to edit the mapping on the same screen (E.g. select something like Dracula if you are using a dark scheme)
  • To install a custom color scheme

    • Create a subfolder named Themes in the textmate-hjson folder
    • Download your favorite tmTheme file to the folder you just created
    • You may need to restart/re-add the Hjson bundle
    • The theme should now show up in the mappings in Textmate Bundles

Others

Check Editor Support for a native package first (like Sublime/Atom/Visual Studio).

If your editor is not listed you may be able to install this package if it supports TextMate syntax bundles.

添加新评论