EricCrosson / pine-script-mode

GNU Emacs Major mode for Trading View pine script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pine-script-mode Build Status MELPA Stable MELPA

GNU Emacs major-mode for Trading View Pine script.

Update: 20.02.2022: Pine Script Version 5 support will be added soon, ironing out kinks

Install

From MELPA

(use-package pine-script-mode
  :ensure t
  :pin melpa-stable
  :mode (("\\.pine" . pine-script-mode)))

Or manually, after downloading into your load-path

(require 'pine-script-mode)
(add-to-list 'auto-mode-alist '("\\.pine$" . pine-script-mode))

Example of Syntax highlighting

Here is a buffer displaying the script Volume Footprint [LUX] by LuxAlgo.

Rendered example

The Emacs 28 buffer in this image is also using:

License

GPL 2 (or higher) © Free Software Foundation, Inc.

About

GNU Emacs Major mode for Trading View pine script

License:GNU General Public License v2.0


Languages

Language:Emacs Lisp 99.3%Language:Makefile 0.7%