39 lines
675 B
Lua
39 lines
675 B
Lua
-- Test file for Paper Tonic Modern colorscheme
|
|
-- This file tests various syntax highlighting
|
|
|
|
-- Comments should be light gray, italic, bold
|
|
local function test_function()
|
|
-- Strings should be dark gray
|
|
local my_string = "Hello, world!"
|
|
|
|
-- Numbers and booleans
|
|
local my_number = 42
|
|
local my_bool = true
|
|
|
|
-- Keywords and conditionals
|
|
if my_bool then
|
|
print(my_string)
|
|
end
|
|
|
|
-- Loops
|
|
for i = 1, 10 do
|
|
print(i)
|
|
end
|
|
|
|
return my_number
|
|
end
|
|
|
|
-- Test HTML colors (should be blue - c3)
|
|
local html = [[
|
|
<div class="test">
|
|
<p>Hello</p>
|
|
</div>
|
|
]]
|
|
|
|
-- Test CSS colors (should be green - c2)
|
|
local css = [[
|
|
.test {
|
|
color: red;
|
|
}
|
|
]]
|