From bae1361c29ea6d7585ebd412f540a3ba1c81830b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 23 Feb 2023 22:09:09 +0100 Subject: Load lsp on post read --- fnl/plugins/lsp/lspconfig.fnl | 2 +- fnl/plugins/lsp/null-ls.fnl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/plugins/lsp') diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl index fc25a04..5ca84fb 100644 --- a/fnl/plugins/lsp/lspconfig.fnl +++ b/fnl/plugins/lsp/lspconfig.fnl @@ -34,7 +34,7 @@ (server-config.setup opts)))]))) {1 :neovim/nvim-lspconfig - :event :BufReadPre + :event :BufReadPost :dependencies [:mason.nvim :williamboman/mason-lspconfig.nvim :b0o/SchemaStore.nvim diff --git a/fnl/plugins/lsp/null-ls.fnl b/fnl/plugins/lsp/null-ls.fnl index 13dd493..e5cb317 100644 --- a/fnl/plugins/lsp/null-ls.fnl +++ b/fnl/plugins/lsp/null-ls.fnl @@ -38,6 +38,6 @@ :dependencies [:mason.nvim :jayp0521/mason-null-ls.nvim :nvim-lua/plenary.nvim] - :event :BufReadPre + :event :BufReadPost :config (fn [] (setup))} -- cgit v1.2.3-70-g09d2