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
@@ -175,6 +175,7 @@ in
|
|||||||
data = kanagawa-nvim;
|
data = kanagawa-nvim;
|
||||||
lazy = false;
|
lazy = false;
|
||||||
}
|
}
|
||||||
|
render-markdown-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
gitsigns-nvim
|
gitsigns-nvim
|
||||||
zen-mode-nvim
|
zen-mode-nvim
|
||||||
|
|||||||
@@ -40,14 +40,14 @@ require("lz.n").load({
|
|||||||
map("n", "gy", function()
|
map("n", "gy", function()
|
||||||
require("telescope.builtin").lsp_type_definitions()
|
require("telescope.builtin").lsp_type_definitions()
|
||||||
end, "Go to type definition")
|
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", "K", vim.lsp.buf.hover, "Show hover documentation")
|
||||||
map({ "n", "x" }, "<leader>ca", vim.lsp.buf.code_action, "Apply code action")
|
map({ "n", "x" }, "<leader>ca", vim.lsp.buf.code_action, "Apply code action")
|
||||||
map("n", "<leader>cr", vim.lsp.buf.rename, "Rename symbol")
|
map("n", "<leader>cr", vim.lsp.buf.rename, "Rename symbol")
|
||||||
|
|
||||||
if client:supports_method("textDocument/documentSymbol", bufnr) then
|
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)
|
require("nvim-navic").attach(client, bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -90,6 +90,16 @@ require("lz.n").load({
|
|||||||
require("zen-mode").setup({})
|
require("zen-mode").setup({})
|
||||||
end,
|
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",
|
"which-key.nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ in
|
|||||||
size = 11;
|
size = 11;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
bold_font = "postscript_name=JetBrainsMono-Bold";
|
||||||
|
bold_italic_font = "postscript_name=JetBrainsMono-BoldItalic";
|
||||||
disable_ligatures = "always";
|
disable_ligatures = "always";
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
enable_audio_bell = false;
|
enable_audio_bell = false;
|
||||||
|
|||||||
Reference in new issue
Block a user