feat: improve markdown and bold font rendering
This commit is contained in:
1 parent
8446965d88
commit
85e4cbdc67
4 files changed
+16
-3
No files matched your search
@@ -40,14 +40,14 @@ require("lz.n").load({
|
||||
map("n", "gy", function()
|
||||
require("telescope.builtin").lsp_type_definitions()
|
||||
end, "Go to type definition")
|
||||
map("n", "gO", function()
|
||||
require("telescope.builtin").lsp_document_symbols()
|
||||
end, "Find document symbols")
|
||||
map("n", "K", vim.lsp.buf.hover, "Show hover documentation")
|
||||
map({ "n", "x" }, "<leader>ca", vim.lsp.buf.code_action, "Apply code action")
|
||||
map("n", "<leader>cr", vim.lsp.buf.rename, "Rename symbol")
|
||||
|
||||
if client:supports_method("textDocument/documentSymbol", bufnr) then
|
||||
map("n", "gO", function()
|
||||
require("telescope.builtin").lsp_document_symbols()
|
||||
end, "Find document symbols")
|
||||
require("nvim-navic").attach(client, bufnr)
|
||||
end
|
||||
|
||||
|
||||
@@ -90,6 +90,16 @@ require("lz.n").load({
|
||||
require("zen-mode").setup({})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"render-markdown.nvim",
|
||||
ft = "markdown",
|
||||
keys = {
|
||||
{ "<leader>um", "<cmd>RenderMarkdown buf_toggle<cr>", desc = "Toggle Markdown rendering" },
|
||||
},
|
||||
after = function()
|
||||
require("render-markdown").setup({})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"which-key.nvim",
|
||||
event = "VimEnter",
|
||||
|
||||
Reference in new issue
Block a user