summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/nvim-tree.fnl152
-rw-r--r--fnl/config/treesitter.fnl2
-rw-r--r--fnl/config/which-key.fnl2
3 files changed, 78 insertions, 78 deletions
diff --git a/fnl/config/nvim-tree.fnl b/fnl/config/nvim-tree.fnl
index 583704b..9e0945f 100644
--- a/fnl/config/nvim-tree.fnl
+++ b/fnl/config/nvim-tree.fnl
@@ -24,82 +24,82 @@
(let [nvim-tree (util.load-plugin :nvim-tree)
nvim-tree-config (util.load-plugin :nvim-tree.config)]
- (let [tree-cb nvim_tree_config.nvim_tree_callback])
- (nvim-tree.setup
- {:auto_reload_on_write true
- :disable_netrw false
- :hide_root_folder false
- :hijack_cursor false
- :hijack_netrw true
- :hijack_unnamed_buffer_when_opening false
- :ignore_buffer_on_setup false
- :open_on_setup false
- :open_on_tab false
- :sort_by "name"
- :update_cwd true
- :view {
- :width 30
- :height 30
- :side "left"
- :preserve_window_proportions false
- :number false
- :relativenumber false
- :signcolumn "yes"
- :mappings {
- :custom_only false
- :list [
- { :key [ "l" "<CR>" "o" ] :cb (tree_cb "edit") }
- { :key "h" :cb (tree_cb "close_node") }
- { :key "v" :cb (tree_cb "vsplit") }]}}
- :hijack_directories {
- :enable true
- :auto_open true}
- :update_focused_file {
- :enable true
+ (let [tree-cb nvim_tree_config.nvim_tree_callback]
+ (nvim-tree.setup
+ {:auto_reload_on_write true
+ :disable_netrw false
+ :hide_root_folder false
+ :hijack_cursor false
+ :hijack_netrw true
+ :hijack_unnamed_buffer_when_opening false
+ :ignore_buffer_on_setup false
+ :open_on_setup false
+ :open_on_tab false
+ :sort_by "name"
:update_cwd true
- :ignore_list {}}
- :ignore_ft_on_setup [ "startify" "dashboard" "alpha" ]
- :system_open {
- :cmd nil
- :args {}}
- :diagnostics {
- :enable true
- :show_on_dirs false
- :icons {
- :hint ""
- :info ""
- :warning ""
- :error ""}}
- :filters {
- :dotfiles false
- :custom {}
- :exclude {}}
- :git {
- :enable true
- :ignore true
- :timeout 400}
- :actions {
- :change_dir {
+ :view {
+ :width 30
+ :height 30
+ :side "left"
+ :preserve_window_proportions false
+ :number false
+ :relativenumber false
+ :signcolumn "yes"
+ :mappings {
+ :custom_only false
+ :list [
+ { :key [ "l" "<CR>" "o" ] :cb (tree_cb "edit") }
+ { :key "h" :cb (tree_cb "close_node") }
+ { :key "v" :cb (tree_cb "vsplit") }]}}
+ :hijack_directories {
:enable true
- :global false}
- :open_file {
- :quit_on_open false
- :resize_window false
- :window_picker {
+ :auto_open true}
+ :update_focused_file {
+ :enable true
+ :update_cwd true
+ :ignore_list {}}
+ :ignore_ft_on_setup [ "startify" "dashboard" "alpha" ]
+ :system_open {
+ :cmd nil
+ :args {}}
+ :diagnostics {
+ :enable true
+ :show_on_dirs false
+ :icons {
+ :hint ""
+ :info ""
+ :warning ""
+ :error ""}}
+ :filters {
+ :dotfiles false
+ :custom {}
+ :exclude {}}
+ :git {
+ :enable true
+ :ignore true
+ :timeout 400}
+ :actions {
+ :change_dir {
:enable true
- :chars "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
- :exclude {
- :filetype [ "notify" "packer" "qf" "diff" "fugitive" "fugitiveblame" ]
- :buftype [ "nofile" "terminal" "help" ]}}}}
- :trash {
- :cmd "trash"
- :require_confirm true}
- :log {
- :enable false
- :truncate false
- :types {
- :all false
- :config false
- :copy_paste false
- :git false
- :profile false}}}))
+ :global false}
+ :open_file {
+ :quit_on_open false
+ :resize_window false
+ :window_picker {
+ :enable true
+ :chars "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
+ :exclude {
+ :filetype [ "notify" "packer" "qf" "diff" "fugitive" "fugitiveblame" ]
+ :buftype [ "nofile" "terminal" "help" ]}}}}
+ :trash {
+ :cmd "trash"
+ :require_confirm true}
+ :log {
+ :enable false
+ :truncate false
+ :types {
+ :all false
+ :config false
+ :copy_paste false
+ :git false
+ :profile false}}})))
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index 18d8f22..f88a8b9 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -17,4 +17,4 @@
:enable true
:enable_autocmd false}
:indent { :enable true :disable [ "yaml" "python" "css" ] }
- :playground { :enable true }}))
+ :playground { :enable true }))
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 845cd27..7c5cf71 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -166,7 +166,7 @@
(def- vmappings {
:k [
- '<ESC><CMD>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>'
+ "<ESC><CMD>lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>"
"Comment" ]})
(let [which-key (util.load-plugin :nvim-which-key.config)]