All Projects → alaviss → nim.nvim

alaviss / nim.nvim

Licence: ISC license
Nim plugin for NeoVim

Programming Languages

Vim Script
2826 projects
nim
578 projects
shell
77523 projects

Projects that are alternatives of or similar to nim.nvim

Highlightr-Plugin
A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier 🎨.
Stars: ✭ 321 (+101.89%)
Mutual labels:  highlight
classNameToCss
A VS Code extension that provides HTML class name completion for CSS
Stars: ✭ 21 (-86.79%)
Mutual labels:  completion
esh-autosuggest
Fish-like autosuggestions in eshell.
Stars: ✭ 88 (-44.65%)
Mutual labels:  completion
geshi-1.1
Next generation of Generic Syntax Highlighter for PHP
Stars: ✭ 70 (-55.97%)
Mutual labels:  highlight
PS OPNsense
PowerShell Module for OPNsense REST api
Stars: ✭ 27 (-83.02%)
Mutual labels:  work-in-progress
vonuvoli-scheme
vonuvoli Scheme -- an R7RS interpreter written in Rust focused on systems programming and scripting (i.e. processes, file-system, etc.) with performance and safety in mind
Stars: ✭ 81 (-49.06%)
Mutual labels:  work-in-progress
react-tagify
📛 Powerful Pure React Component For Hashtags and Mentions In Your React App
Stars: ✭ 24 (-84.91%)
Mutual labels:  highlight
FSharpWrap
Utility that automatically generates F# modules and functions based on your F# project file's references
Stars: ✭ 14 (-91.19%)
Mutual labels:  work-in-progress
bound
Data-binding made easy
Stars: ✭ 21 (-86.79%)
Mutual labels:  work-in-progress
Studyit-club
​💔 ​针对校社团开发的一套IT俱乐部官网 -> http://sunhang.gz01.bdysite.com/
Stars: ✭ 17 (-89.31%)
Mutual labels:  highlight
vim-complimentary
Better completion for Vim builtins
Stars: ✭ 21 (-86.79%)
Mutual labels:  completion
codeblock-beautifier
💅 A chrome extension for highlighting codes of Medium Articles
Stars: ✭ 118 (-25.79%)
Mutual labels:  highlight
go-highlight
A Go (Golang) code syntax highlighting library.
Stars: ✭ 20 (-87.42%)
Mutual labels:  highlight
asyncomplete-nextword.vim
Provides intelligent English autocomplete for asyncomplete.vim via nextword
Stars: ✭ 43 (-72.96%)
Mutual labels:  completion
consul-registration-hook
Hook that can be used for synchronous registration and deregistration in Consul discovery service on Kubernetes or Mesos cluster with Allegro executor
Stars: ✭ 17 (-89.31%)
Mutual labels:  work-in-progress
datatables.mark.js
A DataTables plugin for mark.js to highlight search terms in tables
Stars: ✭ 44 (-72.33%)
Mutual labels:  highlight
vim-customcpt
Easily create custom completion menus using any json or tab-separated file
Stars: ✭ 21 (-86.79%)
Mutual labels:  completion
anisthesia
Media detection library
Stars: ✭ 32 (-79.87%)
Mutual labels:  work-in-progress
vue-highlight-text
🔦 Vue component for highlight multiple instances of a word
Stars: ✭ 55 (-65.41%)
Mutual labels:  highlight
sanzo-wada
🎨 Interactive version of Sanzo Wada's - "A Dictionary of Color Combinations"
Stars: ✭ 139 (-12.58%)
Mutual labels:  work-in-progress

Nim language plugin for NeoVim

This plugin is still pretty much a work-in-progress.

CI

asciicast

Requirements

  • neovim >= 0.4.3
  • nim >= 0.20 (choosenim can be used to install this version)

Installation

Features

  • Semantic highlighting with nimsuggest. Highlight as you type (experimental)
  • "Go to Definition" support using nimsuggest.
  • Autocompletion using nimsuggest.
  • Find references to a symbol.
  • Get signature and documentation of a symbol.
  • Section movements!
  • NEP-1 style indentation!
  • And more...

Auto completion

Install prabirshrestha/asyncomplete.vim and configure it to your liking.

Add this to your configuration file to register the autocomplete source:

au User asyncomplete_setup call asyncomplete#register_source({
    \ 'name': 'nim',
    \ 'whitelist': ['nim'],
    \ 'completor': {opt, ctx -> nim#suggest#sug#GetAllCandidates({start, candidates -> asyncomplete#complete(opt['name'], ctx, start, candidates)})}
    \ })
Support for different completion plugins

While prabirshrestha/asyncomplete.vim is the most tested plugin for use with nim.nvim, it's worth noting that this plugin was made to support a wide range of completion plugins.

If your favorite completion plugin supports asynchronous completion sources in vimscript, the functions in autoload/nim/suggest/sug.vim can be used to integrate nim.nvim with it. Details on how to do so differs between plugins, so please refer to your completion plugin's documentations.

See Support for other completion plugins for pre-made configuration snippets for other plugins.

If you have any questions, you can find me in the #nim IRC channel under the handle leorize.

Usage

See the project's wiki for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].