summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 20:05:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 20:05:49 +0100
commite4da06e19c072322573c916fa6bdda8827a59e6c (patch)
tree3960a010470c59d62b783b22dedc971439c484c8 /fnl/config
parent68719ee058a302a4bda697b6a39ebfd5fefb06fc (diff)
Refactor with opts
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/better-escape.fnl2
-rw-r--r--fnl/config/comment.fnl2
-rw-r--r--fnl/config/flit.fnl2
-rw-r--r--fnl/config/gitsigns.fnl2
-rw-r--r--fnl/config/lualine.fnl2
-rw-r--r--fnl/config/minibar.fnl2
-rw-r--r--fnl/config/persistence.fnl2
-rw-r--r--fnl/config/spectre.fnl2
-rw-r--r--fnl/config/toggleterm.fnl2
-rw-r--r--fnl/config/trim.fnl2
-rw-r--r--fnl/config/trouble.fnl2
-rw-r--r--fnl/config/user-cmd.fnl (renamed from fnl/config/cmd.fnl)2
-rw-r--r--fnl/config/zen.fnl2
13 files changed, 13 insertions, 13 deletions
diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl
index f262784..d4379a0 100644
--- a/fnl/config/better-escape.fnl
+++ b/fnl/config/better-escape.fnl
@@ -5,4 +5,4 @@
:clear_empty_lines false
:keys :<Esc>})
-{1 :max397574/better-escape.nvim :event :BufReadPost :config opts}
+{1 :max397574/better-escape.nvim :event :BufReadPost :opts opts}
diff --git a/fnl/config/comment.fnl b/fnl/config/comment.fnl
index 29b7871..07bfc6d 100644
--- a/fnl/config/comment.fnl
+++ b/fnl/config/comment.fnl
@@ -17,4 +17,4 @@
;; Add comment at the end of line
:eol :mcA}})
-{1 :numToStr/Comment.nvim :event :BufReadPost :config opts}
+{1 :numToStr/Comment.nvim :event :BufReadPost :opts opts}
diff --git a/fnl/config/flit.fnl b/fnl/config/flit.fnl
index 536c505..8c408aa 100644
--- a/fnl/config/flit.fnl
+++ b/fnl/config/flit.fnl
@@ -5,4 +5,4 @@
:multiline true
:opts {}})
-{1 :ggandor/flit.nvim :event :BufReadPost :config opts}
+{1 :ggandor/flit.nvim :event :BufReadPost :opts opts}
diff --git a/fnl/config/gitsigns.fnl b/fnl/config/gitsigns.fnl
index 7b7ed95..d4bd72b 100644
--- a/fnl/config/gitsigns.fnl
+++ b/fnl/config/gitsigns.fnl
@@ -45,4 +45,4 @@
:col 1}
:yadm {:enable false}})
-{1 :lewis6991/gitsigns.nvim :event :BufReadPost :config opts}
+{1 :lewis6991/gitsigns.nvim :event :BufReadPost :opts opts}
diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl
index 34f735c..be326f5 100644
--- a/fnl/config/lualine.fnl
+++ b/fnl/config/lualine.fnl
@@ -83,5 +83,5 @@
{1 :nvim-lualine/lualine.nvim
:event :VeryLazy
- :config opts
+ :opts opts
:dependencies [:kyazdani42/nvim-web-devicons :arkav/lualine-lsp-progress]}
diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl
index 9e49c7f..03882cb 100644
--- a/fnl/config/minibar.fnl
+++ b/fnl/config/minibar.fnl
@@ -29,4 +29,4 @@
{1 :aktersnurra/minibar.nvim
:event :BufReadPre
- :config opts}
+ :opts opts}
diff --git a/fnl/config/persistence.fnl b/fnl/config/persistence.fnl
index e1368f1..0238897 100644
--- a/fnl/config/persistence.fnl
+++ b/fnl/config/persistence.fnl
@@ -2,4 +2,4 @@
(local opts {:options [:buffers :curdir :tabpages :winsize :help]})
-{1 :folke/persistence.nvim :event :VeryLazy :config opts}
+{1 :folke/persistence.nvim :event :VeryLazy :opts opts}
diff --git a/fnl/config/spectre.fnl b/fnl/config/spectre.fnl
index c662935..067a817 100644
--- a/fnl/config/spectre.fnl
+++ b/fnl/config/spectre.fnl
@@ -59,4 +59,4 @@
:is_open_target_win true
:is_insert_mode false})
-{1 :windwp/nvim-spectre :event :BufReadPost :config opts}
+{1 :windwp/nvim-spectre :event :BufReadPost :opts opts}
diff --git a/fnl/config/toggleterm.fnl b/fnl/config/toggleterm.fnl
index 3c8aa39..ed7dd5c 100644
--- a/fnl/config/toggleterm.fnl
+++ b/fnl/config/toggleterm.fnl
@@ -2,4 +2,4 @@
(local opts {:size 16 :shade_terminals false})
-{1 :akinsho/toggleterm.nvim :cmd :ToggleTerm :config opts}
+{1 :akinsho/toggleterm.nvim :cmd :ToggleTerm :opts opts}
diff --git a/fnl/config/trim.fnl b/fnl/config/trim.fnl
index e21b715..af8b5ab 100644
--- a/fnl/config/trim.fnl
+++ b/fnl/config/trim.fnl
@@ -2,4 +2,4 @@
(local opts {:disable [:python]})
-{1 :cappyzawa/trim.nvim :event :BufFilePre :config opts}
+{1 :cappyzawa/trim.nvim :event :BufFilePre :opts opts}
diff --git a/fnl/config/trouble.fnl b/fnl/config/trouble.fnl
index 988f2ed..a38ed86 100644
--- a/fnl/config/trouble.fnl
+++ b/fnl/config/trouble.fnl
@@ -78,4 +78,4 @@
;; enabling this will use the signs defined in your lsp client
})
-{1 :folke/trouble.nvim :cmd :TroubleToggle :config opts}
+{1 :folke/trouble.nvim :cmd :TroubleToggle :opts opts}
diff --git a/fnl/config/cmd.fnl b/fnl/config/user-cmd.fnl
index 1ae9b58..f72d95a 100644
--- a/fnl/config/cmd.fnl
+++ b/fnl/config/user-cmd.fnl
@@ -1,5 +1,5 @@
;; Commands for plugins.
-(module config.cmd {autoload {nvim aniseed.nvim util config.util}})
+(module config.user-cmd {autoload {nvim aniseed.nvim util config.util}})
(nvim.create_user_command :OrgAgendaPrompt
(lambda []
diff --git a/fnl/config/zen.fnl b/fnl/config/zen.fnl
index 1a0c94e..1f53708 100644
--- a/fnl/config/zen.fnl
+++ b/fnl/config/zen.fnl
@@ -10,4 +10,4 @@
:tmux {:enabled true}
:twilight {:enabled true}}})
-{1 :folke/zen-mode.nvim :cmd :ZenMode :config opts}
+{1 :folke/zen-mode.nvim :cmd :ZenMode :opts opts}