This is a barebones plugin implementation for the Lox programming language.
This plugin is compatible with Vim's (and NeoVim's) native plugin manager, Pathogen, Vundle, Plug etc.
The plugin should work as-is with Vim/NeoVim's native plugin manager. For instance,
$ cd ~/.vim/pack/plugins/start && git clone https://github.com/timmyjose-projects/lox.vim
should have the plugin up and running.
Add the following line to your Vim/NeoVim configuration file's Vim-Plug
plugin section:
Plug 'timmyjose-projects/lox.vim'
and then run PlugInstall
or (PlugUpdate
as the case may be).
Add the following line to your Vim/NeoVim configuration file's Vundle
plugin section:
Plugin 'timmyjose-projects/lox.vim'
and then run PluginInstall
(or PluginUpdate
as the case may be)
This plugin is compatible with Pathogen as well. Clone the lox.vim
project into ~/.vim/bundle
as for any
other plugin:
cd ~/.vim/bundle && git clone https://github.com/timmyjose-projects/lox.vim
If you wish to use jlox
instead of clox
, override the default as follows (in your Vum or NeoVim configuration file):
:let g:lox_use_jlox = 1
:help LoxUsage
for more details.
To run the currently loaded file:
<LocalLeader>r
(Run :help maplocalleader
for reference in case you are not familiar with <LocalLeader>
). :help LoxMappings
for more details.
To run the currently loaded file:
:LoxRun
:help LoxExCommands
for more details.
To access the main help page,
:help lox.txt
(Note: In case this doesn't work, try regenerating the tags for help files by running :helptags ALL
, ignoreing any errors).
See LICENCE.