summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-13 00:55:45 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-13 00:55:45 +0100
commit4d6e8077f14c45bac44466bc99fb4f813aa053ab (patch)
tree01371f027c4e18a0f4a71cc73d28fc9e7eb11b22 /fnl
parent4068a66850755c8181ccdeb1d9ac7c388965f841 (diff)
Update to lsp and add autoread
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/lsp/mason-lspconfig.fnl6
-rw-r--r--fnl/config/lsp/settings/sumneko-lua.fnl2
-rw-r--r--fnl/settings/options.fnl1
3 files changed, 6 insertions, 3 deletions
diff --git a/fnl/config/lsp/mason-lspconfig.fnl b/fnl/config/lsp/mason-lspconfig.fnl
index 130fc17..219d470 100644
--- a/fnl/config/lsp/mason-lspconfig.fnl
+++ b/fnl/config/lsp/mason-lspconfig.fnl
@@ -5,13 +5,15 @@
:clangd
:cssls
:dockerls
- :html
+ ;; :erlangls ;; must install rebar3 first
+ ;; :fennel_language_server
:hls
+ :html
:jsonls
:pyright
:rust_analyzer
- :sumneko_lua
:sqls
+ :sumneko_lua
:taplo
:terraformls
:texlab
diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl
index 0f20f53..88545c1 100644
--- a/fnl/config/lsp/settings/sumneko-lua.fnl
+++ b/fnl/config/lsp/settings/sumneko-lua.fnl
@@ -1,4 +1,4 @@
-;; Config for a Lua language server.
+;; Config for the sumneko-lua language server.
(module config.lsp.settings.sumneko-lua)
(def- workspace
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index 6d1fd7a..52745f1 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -72,6 +72,7 @@
;; display lines as one long line
:wrap false
:laststatus 3
+ :autoread true
;; is one of my fav
:scrolloff 8
:sidescrolloff 8