aboutsummaryrefslogtreecommitdiff
path: root/fnl/layouts/writing.fnl
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-03-04 03:04:24 -0600
committeramelia squires <[email protected]>2025-03-04 03:04:24 -0600
commitd56fb1ab6e76a23817c6836249edd44cf6252554 (patch)
treee48cc02ebdbe6e03121e249980431b236aeaec65 /fnl/layouts/writing.fnl
parentbea349474eddf5b1b4e30e7c2212a1b9503baddf (diff)
settings + bar
Diffstat (limited to 'fnl/layouts/writing.fnl')
-rw-r--r--fnl/layouts/writing.fnl17
1 files changed, 17 insertions, 0 deletions
diff --git a/fnl/layouts/writing.fnl b/fnl/layouts/writing.fnl
new file mode 100644
index 0000000..76a4e38
--- /dev/null
+++ b/fnl/layouts/writing.fnl
@@ -0,0 +1,17 @@
+{
+:enable (fn []
+ (tset vim.opt :number false)
+ (tset vim.o :signcolumn :no)
+ (tset vim.opt :fillchars {:eob " "})
+ (tset vim.opt :wrap true)
+ (tset vim.opt :linebreak true)
+ (_G.opt.trans-enable))
+
+:disable (fn []
+ (tset vim.opt :number true)
+ (tset vim.o :signcolumn :yes)
+ (tset vim.opt :fillchars {:eob "~"})
+ (tset vim.opt :wrap false)
+ (tset vim.opt :linebreak false)
+ (_G.opt.trans-disable))
+}