summaryrefslogtreecommitdiff
path: root/fnl/config/lsp
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/config/lsp
parent936272fc2a5ae07470816d1b63f79bfadb3ef979 (diff)
fix(typos): bugs by typos and wrong lists
Diffstat (limited to 'fnl/config/lsp')
-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
3 files changed, 4 insertions, 4 deletions
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) ]))}}}}))