15 lines
570 B
Lua
15 lines
570 B
Lua
-- local fennel = require("fennel")
|
|
-- fennel.path = "/home/nico/.textadept/?.fnl"
|
|
-- table.insert(package.loaders or package.searchers, fennel.searcher)
|
|
-- local config = require("config")
|
|
|
|
view:set_theme("base16-tomorrow-night", {font="Fantasque Sans Mono", size=14})
|
|
view.wrap_mode = view.WRAP_WORD
|
|
|
|
-- add uxntal lexer
|
|
textadept.file_types.extensions["tal"] = "uxntal"
|
|
|
|
-- set uxntal build commands
|
|
textadept.run.compile_commands.uxntal = "/home/nico/.local/bin/uxnasm \"%f\" \"%f.rom\""
|
|
textadept.run.run_commands.uxntal = "/home/nico/.local/bin/uxnemu \"%f.rom\""
|