A basic ooc lexer for the textadept editor.
- Copy
ooc.lua
to the~/.textadept/lexers
directory - Add the following to your
~/.textadept/init.lua
script:
-- file associations
textadept.file_types.extensions.ooc = "ooc"
textadept.file_types.extensions.use = "ooc"
-- support for ctrl+/ to comment out lines
textadept.editing.comment_string.ooc = '//'