all repos

init.lua @ bdc7a4b

my nvim config
1 files changed, 2 insertions(+), 0 deletions(-)
refactor(lsp.attach): add messages on enable/disable inlay hints
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-01-25 13:42:04 +0200
Parent: 4c7c8f0
M lua/plugins/lsp/attach.lua

@@ -33,8 +33,10 @@

map("<leader>li", function() if vim.lsp.inlay_hint.is_enabled(bufnr) then vim.lsp.inlay_hint.enable(bufnr, false) + vim.print "Inlay hints disabled" else vim.lsp.inlay_hint.enable(bufnr, true) + vim.print "Inlay hints enabled" end end) end,