This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
vimlol: highlight our maths constants F_PI, D_PI etc. in vim.
undefined
Sam Hocevar
10 years ago
parent
a8f0081deb
commit
8b2439f127
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
tools/vimlol/vimlol.vim
+ 5
- 0
tools/vimlol/vimlol.vim
View File
@@ -50,6 +50,11 @@ au Syntax cpp
\ syn keyword cConstant
\ nullptr
" New maths constants
au Syntax cpp
\ syn match cConstant
\ "\<\(F\|D\|LD\)_\(PI\|PI_[234]\|[12]_PI\|SQRT_[23]\|SQRT_1_2\)\>"
"""
""" LolFx language handler
Write
Preview
Loading…
Cancel
Save