From 4d6e8077f14c45bac44466bc99fb4f813aa053ab Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 13 Nov 2022 00:55:45 +0100 Subject: Update to lsp and add autoread --- fnl/config/lsp/mason-lspconfig.fnl | 6 ++++-- fnl/config/lsp/settings/sumneko-lua.fnl | 2 +- fnl/settings/options.fnl | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'fnl') 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 -- cgit v1.2.3-70-g09d2