From b6300f42dc87ac11917b8609e1ce0567150f8a7a Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Tue, 19 Aug 2025 20:45:02 +0200 Subject: [PATCH] fix: load default on_attach callbacks --- lua/ow/lsp.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/ow/lsp.lua b/lua/ow/lsp.lua index ac6b9de..3592f0e 100644 --- a/lua/ow/lsp.lua +++ b/lua/ow/lsp.lua @@ -370,6 +370,7 @@ function M.setup() }) vim.lsp.config("mesonlsp", { + on_attach = M.with_defaults("mesonlsp"), settings = { others = { disableInlayHints = true, @@ -378,6 +379,7 @@ function M.setup() }) vim.lsp.config("pyright", { + on_attach = M.with_defaults("pyright"), settings = { python = { analysis = { @@ -421,6 +423,7 @@ function M.setup() }) vim.lsp.config("rust_analyzer", { + on_attach = M.with_defaults("rust_analyzer"), settings = { ["rust-analyzer"] = { inlayHints = { @@ -439,6 +442,7 @@ function M.setup() }) vim.lsp.config("zls", { + on_attach = M.with_defaults("zls"), settings = { zls = { warn_style = true,