-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.lua
43 lines (37 loc) · 1.04 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
local sym = require 'ti.sym'
return {
-- Operator store mode
-- pop Pop stack entry
-- replace Replace stack entry by variable
-- none No special handling
---@enum 'pop'|'replace'|'none'
store_mode = 'replace',
-- Operator with '|' mode
-- none No special handling
-- smart Join multiple operators by 'and'
---@enum 'none'|'smart'
with_mode = 'smart',
-- Stack font size
-- A size < 9 makes asterisks unreadable
stack_font_size = 9,
-- Respect document settings for formatting numbers
use_document_settings = true,
-- Edit matrices via the matrix editor
edit_use_matrix_editor = true,
-- Expandable edit snippets
-- Expanding a snippet will _not_ trigger autocompletion!
snippets = {
inf = sym.INFTY,
oo = sym.INFTY,
deg = sym.DEGREE,
rad = sym.RAD,
to = sym.CONVERT,
leq = sym.LEQ,
geq = sym.GEQ,
neq = sym.NEQ,
ii = sym.IMAG,
ee = sym.EULER,
},
-- Enable rpnspire splash screen
enable_splash = true,
}