This repository has been archived on 2022-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/textadept/.textadept/init.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\""