removed existing code in lsp tinymist config

This commit is contained in:
gwslingerland 2026-01-08 14:27:08 +01:00
parent aacc7a510c
commit 53268436d2
1 changed files with 1 additions and 25 deletions

View File

@ -711,31 +711,7 @@ require('lazy').setup({
},
},
tinymist = {
on_attach = function(client, bufnr)
vim.keymap.set('n', '<leader>tp', function()
client:exec_cmd({
title = 'pin',
command = 'tinymist.pinMain',
arguments = { vim.api.nvim_buf_get_name(0) },
}, { bufnr = bufnr })
end, { desc = '[T]inymist [P]in', noremap = true })
vim.keymap.set('n', '<leader>tu', function()
client:exec_cmd({
title = 'unpin',
command = 'tinymist.pinMain',
arguments = { vim.v.null },
}, { bufnr = bufnr })
end, { desc = '[T]inymist [U]npin', noremap = true })
end,
},
tinymist = {},
}
-- Ensure the servers and tools above are installed