summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-23 22:09:09 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-02-23 22:09:09 +0100
commitbae1361c29ea6d7585ebd412f540a3ba1c81830b (patch)
tree6cb912ae27e72f336b474c8aeeeeaab09e614b04 /fnl/plugins/lsp
parent97e7972314c50163fb538340437ff3bd038df7da (diff)
Load lsp on post read
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r--fnl/plugins/lsp/lspconfig.fnl2
-rw-r--r--fnl/plugins/lsp/null-ls.fnl2
2 files changed, 2 insertions, 2 deletions
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))}