pine-script-mode
pine-script-mode copied to clipboard
GNU Emacs Major mode for Trading View pine script
pine-script-mode

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.
The Emacs 28 buffer in this image is also using:
- Modus Vivendi Theme
- JetBrains Mono font
License
GPL 2 (or higher) © Free Software Foundation, Inc.