textadept simplification

This commit is contained in:
Nico 2022-03-04 20:40:43 +00:00
parent b0459e58a3
commit 104218ce33
1 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,14 @@
local fennel = require("fennel")
fennel.path = "/home/nico/.textadept/?.fnl"
table.insert(package.loaders or package.searchers, fennel.searcher)
local config = require("config")
-- 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\""