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;
|
||||
lazy = false;
|
||||
}
|
||||
render-markdown-nvim
|
||||
lualine-nvim
|
||||
gitsigns-nvim
|
||||
zen-mode-nvim
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -29,6 +29,8 @@ in
|
||||
size = 11;
|
||||
};
|
||||
settings = {
|
||||
bold_font = "postscript_name=JetBrainsMono-Bold";
|
||||
bold_italic_font = "postscript_name=JetBrainsMono-BoldItalic";
|
||||
disable_ligatures = "always";
|
||||
scrollback_lines = 10000;
|
||||
enable_audio_bell = false;
|
||||
|
||||
Reference in new issue
Block a user