removed existing code in lsp tinymist config
This commit is contained in:
parent
aacc7a510c
commit
53268436d2
26
init.lua
26
init.lua
|
|
@ -711,31 +711,7 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
tinymist = {
|
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,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ensure the servers and tools above are installed
|
-- Ensure the servers and tools above are installed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue