File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ " Vim syntax file for Logicode
2+ " https://github.com/LogicodeLang/Logicode
3+ " Author: TuxCrafting
4+ "
5+ " Installation instructions:
6+ " 1. Copy this file to ~/.vim/syntax/lgc.vim
7+ " 2. Create the file ~/.vim/ftdetect/lgc.vim
8+ " 3. Write 'au BufRead,BufNewFile *.lgc set filetype=lgc' in the ftdetect file
9+ " 4. ???
10+ " 5. Profit!
11+
12+ if exists (" b:current_syntax" )
13+ finish
14+ endif
15+
16+ syn keyword lgcTodo TODO FIXME XXX NOTE
17+ syn match lgcComment " #.*$" contains =lgcTodo
18+ syn keyword lgcKeyword circ cond out var
19+ syn match lgcNumber " [01]\+ "
20+
21+ let b: current_syntax = " lgc"
22+
23+ hi def link lgcTodo Todo
24+ hi def link lgcComment Comment
25+ hi def link lgcKeyword Statement
26+ hi def link lgcNumber Constant
You can’t perform that action at this time.
0 commit comments