xomachine / textadept-nim

Nim language plugin for Textadept with autocompletion support (The developement is suspended. Ping me if you need something.)
MIT License
21 stars 3 forks source link
nim nim-language-plugin textadept

textadept-nim

Nim language plugin for Textadept with autocompletion support

Warning! Work still in progress!

Features:

Requirements

Installation

Clone this repository to "\~/.textadept/modules/" and put following line into your "\~/.textadept/init.lua":

require "textadept-nim"

It's possible to change default key bindings by editing "~/.textadept/modules/init.lua"

Autocompletion icon meanings

Compile-time related objects

Compile-time related objects have a orange background color

- Conditional argument

- Macro

- Template

Containers

Containers have a cyan background color and sometimes are enclosed into a brackets

- Constant value

- Enum field

- Temporary variable inside a "for" cycle

- Object field

- Generic parameter

- Immutable value introduced with "let" keyword

- Procedure/method/(or other executable object) parameter

- Implict result variable

- Temporary variable

- Just a variable introduced with "var" keyword

Executable objects

Executable objects have a green background color and brackets after the letter

- Converter

- Iterator

- Method

- Procedure

Other objects

Other objects have a purple background color and some of them should never apear, but it has been added thougth.

- Alias

- Dynamic library

- Label

- Module

- Package

- Stub

- Type

- Unknown object