Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jangko/nppnim
a notepad++ plugin contains lexer and code folding for Nim lang
https://github.com/jangko/nppnim
dll nim nim-lang notepad notepad-plugin
Last synced: 13 days ago
JSON representation
a notepad++ plugin contains lexer and code folding for Nim lang
- Host: GitHub
- URL: https://github.com/jangko/nppnim
- Owner: jangko
- License: other
- Created: 2016-01-26T01:10:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-12T04:25:23.000Z (over 2 years ago)
- Last Synced: 2024-11-09T20:49:58.975Z (2 months ago)
- Topics: dll, nim, nim-lang, notepad, notepad-plugin
- Language: Nim
- Homepage:
- Size: 103 KB
- Stars: 32
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
# nppnim
a notepad++ plugin contains syntax highlighter and code folding for Nim lang- - -
After I removed the cpp stuff, this plugin now written 100% in Nim.
This means this plugin also can serve as a model for anyone who want to write their own plugin
compatible with recent notepad++ in any language that can produce a DLL.requirements(for notepad++ 32bit):
* Nim32/64bit
* MinGW-w64 or MingGW32 ~~or VCC 32bit~~
(ironically, although VCC can compile this plugin, notepad++ reject it for some unknown reason)how to compile:
* nim c -d:release nppnim
how to cross compile using 64bit Nim compiler:
* nim c -d:release --cpu:i386 --passL:-m32 --passC:-m32 nppnim
how to test(version below 7.6):
* put nppnim.dll in NPPINSTDIR\plugins
* put nppnim.xml in NPPINSTDIR\plugins\confighow to test(version >= 7.6):
* put nppnim.dll in NPPINSTDIR\plugins\nppnim
* put nppnim.xml in NPPINSTDIR\plugins\config
beware:
if there exist more than one npp plugin written in Nim, please use compiler switch "-d:useNimRtl",
(I never tested it before, but the documentation says like that)
download:
* Precompiled binaries can be downloaded [here](https://github.com/jangko/nppnim/releases)