ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Nim​Lime

by Varriount ST2/ST3

Super Nim Plugin for Sublime Text 2/3

Details

Installs

  • Total 5K
  • Win 2K
  • OS X 1K
  • Linux 2K
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 3 2 0 2 2 0 2 0 2 3 2 1 1 2 3 0 2 1 3 6 2 6 3 2 0 3 4 2 3 6 3 1 0 3 2 0 2 0 0 2 0 4 0 0 1 5
OS X 0 3 1 1 1 6 2 0 1 1 1 0 0 0 1 1 0 1 1 0 0 0 0 1 1 1 0 2 1 2 1 1 0 2 3 3 1 3 0 1 0 0 1 2 0 3
Linux 1 0 1 1 4 1 1 1 0 1 1 0 2 1 0 3 1 1 0 3 2 2 3 2 1 1 0 0 0 5 3 3 2 7 0 6 1 2 0 2 0 3 0 1 1 1

Readme

Source
raw.​githubusercontent.​com

NimLime

Nim Programming Language plugin for Sublime Text 2/3

Features

  • Syntax highlighting
  • Jump to definition
  • Auto-Completion
  • Error checking and highlighting
  • Nimble package manager integration

Installation

Latest/Unstable

Note that the latest version comes directly from the repository, and thus may be broken at any time! Thus, it is only recommended for those who wish to either help develop NimLime, or can work around bugs.

Stable

  • Install NimLime through Package Control (this version is usually older than the one here)

Settings

See Preferences -> PackageSettings -> NimLime

Autocompletion works per default in an on-demand mode. This means Ctrl+Space has to be pressed again to fetch Nim compiler completions. It can also be set into an immediate mode.

If auto-completions don't work copy the nim_update_completions block from the NimLime default key bindings file to the user key bindings file.

Checking the current file automatically on-save can be enabled through the setting check.on_save.enabled.

The path to the compiler can be configured through the setting nim.executable. Per default it is set to nim, which means that the compiler must be in your PATH for the plugin to work.

Contributing

Pull requests are welcome! See DEVELOPMENT.md for an overview of NimLime's design.

Clone the repository in your Sublime package directory.

Install the AAAPackageDev.

Modify the .YAML-tmLanguage files and regenerate the .tmLanguage files by summoning the command palette and selecting the Convert (YAML, JSON, PLIST) to... command. Don't modify the .tmLanguage files, they will be overwritten!