Super Nim Plugin for Sublime Text 2/3
Python Nimrod JavaScript
Latest commit 2f5ec25 Jul 10, 2016 @Varriount Fix bad import
Permalink
Failed to load latest commit information.
Support
Syntaxes
nimlime_core Fix bad import Jul 9, 2016
nimsuggest
.gitignore Merge branch 'restructure-heirarchy' Jan 31, 2016
DEVELOPMENT.md Merge branch 'restructure-heirarchy' Jan 31, 2016
Default (Linux).sublime-keymap Added go-to-def support for nims Aug 17, 2015
Default (Linux).sublime-mousemap
Default (OSX).sublime-keymap
Default (OSX).sublime-mousemap
Default (Windows).sublime-keymap Pragma completion tweak. Mar 5, 2016
Default (Windows).sublime-mousemap
FavoriteFilesLicense
LICENSE Updated license Jan 13, 2014
Nim.sublime-settings
NimLime.py
NimLime.sublime-settings Fix and enhance the 'Setup Nimsuggest' command. Feb 9, 2016
README.md
__init__.py Fix some stylistic errors and possible bugs. Fix #59 Feb 11, 2016

README.md

NimLime

Super Nim 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_nim_on_save.

The path to the compiler can be configured through the setting nim_compiler_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!