From c144250c7563089cc8d6831e96fb364a001cc512 Mon Sep 17 00:00:00 2001 From: Andre Schaf Date: Mon, 13 Apr 2026 16:11:07 +0200 Subject: [PATCH] fixes --- lua/lspconf.lua | 6 +++++- lua/plugins.lua | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/lspconf.lua b/lua/lspconf.lua index 65434d8..fcad88f 100644 --- a/lua/lspconf.lua +++ b/lua/lspconf.lua @@ -1,6 +1,10 @@ local conform = require("conform") -local on_attach = function(_, bufnr) +local on_attach = function(client, bufnr) + if client.config.flags then + client.config.flags.debounce_text_changes = 300 + end + local opts = { buffer = bufnr, remap = false } -- Global mappings. diff --git a/lua/plugins.lua b/lua/plugins.lua index 6afce57..37a6c22 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -18,6 +18,7 @@ require("lazy").setup({ { "lewis6991/gitsigns.nvim" }, { "tpope/vim-commentary" }, { "tpope/vim-surround" }, + { "sphamba/smear-cursor.nvim", opts = {}, }, { "folke/snacks.nvim", priority = 1000,