Syntaxic coloration and snippets plugin for Quark.
-
Install pathogen if you haven't already
-
Add those lines to your
.vimrc
if this is not already done:
execute pathogen#infect()
syntax on
filetype plugin indent on
- Run in a terminal:
vlugger install quark-lang/vim-quark
- Add those lines to your
.vimrc
if this is not already done:
execute pathogen#infect()
syntax on
filetype plugin indent on
- Run in a terminal:
cd ~/.vim/bundle && git clone https://github.com/quark-lang/vim-quark
- Write the following in your
.vimrc
:Plug 'quark-lang/vim-quark'
- Run the following command in vim:
:source %
:PlugInstall
- Completion dictionnary is loaded from a file (default:
$HOME/.vim/bundle/vim-quark/quark-dict
), you can change this file by runninglet g:quark_complete = "your/custom/path"
- Syntax highlighting is automatic when you open a
.qrk
file
- Use
:QuarkRun
to run the file you have in the current buffer *NOTE: You can change the quark executable by doinglet g:quark_command = "your_custom_command"
- Condition snippet: type
if
in insert mode - Function snippet: type
fn
in insert mode
- Main author: Wafelack