aboutsummaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-10-24 06:53:08 -0500
committeramelia squires <[email protected]>2024-10-24 06:53:08 -0500
commite47fa485563a8a806c52f66a18471bbf012ac5c1 (patch)
tree2e56afccd9c2dd25549a99c5d3ad1a6316331f75 /fnl
parent128bb9acbce77e20473857345b0956739e8b6fca (diff)
add stuff
Diffstat (limited to 'fnl')
-rw-r--r--fnl/opt.fnl7
-rw-r--r--fnl/plugins/bufresize.fnl1
-rw-r--r--fnl/plugins/gitsigns.fnl1
-rw-r--r--fnl/plugins/startup.fnl2
4 files changed, 11 insertions, 0 deletions
diff --git a/fnl/opt.fnl b/fnl/opt.fnl
index e28645c..8b8981c 100644
--- a/fnl/opt.fnl
+++ b/fnl/opt.fnl
@@ -11,3 +11,10 @@
(tset vim.opt :termguicolors true)
;--vim.opt.fillchars = { eob = ""}
(vim.cmd (.. "colorscheme " _G.settings.colorscheme))
+
+(when (= (vim.fn.has :persistent_undo) 1)
+ (local target_path (vim.fn.expand "~/.undodir"))
+ (when (not= (vim.fn.isdirectory target_path) 1)
+ (vim.fn.mkdir target_path :p 0777))
+ (tset vim.o :undodir target_path)
+ (tset vim.o :undofile true))
diff --git a/fnl/plugins/bufresize.fnl b/fnl/plugins/bufresize.fnl
new file mode 100644
index 0000000..e495e26
--- /dev/null
+++ b/fnl/plugins/bufresize.fnl
@@ -0,0 +1 @@
+((. (require :bufresize) :setup))
diff --git a/fnl/plugins/gitsigns.fnl b/fnl/plugins/gitsigns.fnl
new file mode 100644
index 0000000..9810906
--- /dev/null
+++ b/fnl/plugins/gitsigns.fnl
@@ -0,0 +1 @@
+((. (require :gitsigns) :setup))
diff --git a/fnl/plugins/startup.fnl b/fnl/plugins/startup.fnl
new file mode 100644
index 0000000..dc601a4
--- /dev/null
+++ b/fnl/plugins/startup.fnl
@@ -0,0 +1,2 @@
+((. (require :startup) :setup) {
+ :theme :evil})