summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:32:41 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:32:41 +0200
commitc713e546deca1f48a0d89980ff01191a50e8fcd2 (patch)
treeb96457d36ac77b4051439ea8880f5b33d3e4f895 /fnl
parent936272fc2a5ae07470816d1b63f79bfadb3ef979 (diff)
fix(typos): bugs by typos and wrong lists
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/alpha.fnl2
-rw-r--r--fnl/config/autocmd.fnl2
-rw-r--r--fnl/config/lsp/handlers.fnl2
-rw-r--r--fnl/config/lsp/null-ls.fnl4
-rw-r--r--fnl/config/lsp/settings/jsonls.fnl2
-rw-r--r--fnl/config/nvim-tree.fnl2
-rw-r--r--fnl/config/treesitter.fnl2
-rw-r--r--fnl/config/which-key.fnl4
-rw-r--r--fnl/settings/keymaps.fnl2
9 files changed, 11 insertions, 11 deletions
diff --git a/fnl/config/alpha.fnl b/fnl/config/alpha.fnl
index 636dd56..dca13de 100644
--- a/fnl/config/alpha.fnl
+++ b/fnl/config/alpha.fnl
@@ -35,7 +35,7 @@
(dashboard.button "t" " Find text" ":Telescope live_grep <CR>")
(dashboard.button "c" " Configuration" ":e ~/.config/nvim/init.lua <CR>")
(dashboard.button "q" " Quit Neovim" ":qa<CR>")
- }
+ })
(set dashboard.section.header.opts.hl :AlphaHeader)
(set dashboard.section.buttons.opts.hl :AlphaButtons)
(set dashboard.opts.opts.noautocmd true)
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl
index e5bf556..1f90f8e 100644
--- a/fnl/config/autocmd.fnl
+++ b/fnl/config/autocmd.fnl
@@ -13,7 +13,7 @@
(util.autocmd
:TextYankPost
{:pattern [ :* ]
- :callback (lambda [] (vim.highlight.on_yank {:timeout 200})
+ :callback (lambda [] (vim.highlight.on_yank {:timeout 200}))
:group :_general_settings})
(util.autocmd
diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl
index c691d1a..6c3566e 100644
--- a/fnl/config/lsp/handlers.fnl
+++ b/fnl/config/lsp/handlers.fnl
@@ -56,4 +56,4 @@
(set capabilities.textDocument.completion.completionItem.snippetSupport true)
(let [cmp-nvim-lsp (util.load-plugin :cmp_nvim_lsp)]
(cmp-nvim-lsp.update_capabilities capabilities))
- (capabilities)))
+ capabilities))
diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl
index 4f737f7..0f9e459 100644
--- a/fnl/config/lsp/null-ls.fnl
+++ b/fnl/config/lsp/null-ls.fnl
@@ -3,8 +3,8 @@
{autoload {util util}})
(let [null-ls (util.load-plugin :null-ls)]
- (let [formatting (null_ls.builtins.formatting)
- diagnostics (null_ls.builtins.diagnostics)])
+ (let [formatting null_ls.builtins.formatting
+ diagnostics null_ls.builtins.diagnostics])
(null-ls.setup
{:debug false
:sources [
diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl
index 93378dc..37c4597 100644
--- a/fnl/config/lsp/settings/jsonls.fnl
+++ b/fnl/config/lsp/settings/jsonls.fnl
@@ -13,4 +13,4 @@
:commands {
:Format {
(fn []
- (vim.lsp.buf.range_formatting {} [ 0 0 ] [ (vim.fn.line "$" 0) ]))}}}}))
+ (vim.lsp.buf.range_formatting [] [ 0 0 ] [ (vim.fn.line "$" 0) ]))}}}}))
diff --git a/fnl/config/nvim-tree.fnl b/fnl/config/nvim-tree.fnl
index c6dd93a..583704b 100644
--- a/fnl/config/nvim-tree.fnl
+++ b/fnl/config/nvim-tree.fnl
@@ -50,7 +50,7 @@
:list [
{ :key [ "l" "<CR>" "o" ] :cb (tree_cb "edit") }
{ :key "h" :cb (tree_cb "close_node") }
- { :key "v" :cb (tree_cb "vsplit") }}}]
+ { :key "v" :cb (tree_cb "vsplit") }]}}
:hijack_directories {
:enable true
:auto_open true}
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index 1fc0ec2..18d8f22 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -7,7 +7,7 @@
(treesitter.setup
{:ensure_installed "maintained"
:sync_install false
- :ignore_install { "" }
+ :ignore_install [ "" ]
:autopairs { :enable true }
:highlight {
:enable true
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 39dcdcf..845cd27 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -172,5 +172,5 @@
(let [which-key (util.load-plugin :nvim-which-key.config)]
(do
(which-key.setup setup)
- (when.register mappings opts)
- (when.register vmappings vopts)))
+ (which-key.register mappings opts)
+ (which-key.register vmappings vopts)))
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index ae4ff2b..2409915 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -52,4 +52,4 @@
;; Move text up and down
(map "v" "<A-j>" ":m .+1<CR>==" opts)
(map "v" "<A-k>" ":m .-2<CR>==" opts)
-(map "v" "p" "\"_dP" opts)
+;; (map "v" "p" "\"_dP" opts)