nvim: render markdown plugin
This commit is contained in:
parent
928a557707
commit
4f80dfc9b6
@ -26,7 +26,12 @@
|
||||
sonokai_style = "atlantis";
|
||||
sonokai_disable_italic_comment = 1;
|
||||
};
|
||||
keymaps = [];
|
||||
keymaps = [
|
||||
{
|
||||
key = "<leader>rm";
|
||||
action = "<cmd>RenderMarkdown toggle<CR>";
|
||||
}
|
||||
];
|
||||
opts = {
|
||||
colorcolumn = "88";
|
||||
cursorline = true;
|
||||
@ -43,8 +48,8 @@
|
||||
{ name = "buffer"; }
|
||||
];
|
||||
settings.mapping = {
|
||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
||||
"<C-d>" = "cmp.mapping.scroll_docs(-2)";
|
||||
"<C-f>" = "cmp.mapping.scroll_docs(2)";
|
||||
"<C-Space>" = "cmp.mapping.complete()";
|
||||
"<C-e>" = "cmp.mapping.close()";
|
||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item({behavior = cmp.SelectBehavior.Select}), {'i', 's'})";
|
||||
@ -67,13 +72,14 @@
|
||||
};
|
||||
lsp.servers.gopls.enable = true;
|
||||
lsp.servers.nixd.enable = true;
|
||||
lsp.servers.terraform_lsp.enable = true;
|
||||
lsp.servers.terraformls.enable = true;
|
||||
lsp.servers.tflint.enable = true;
|
||||
lsp.servers.yamlls.enable = true;
|
||||
lsp-format.enable = true; # Automatically format on save
|
||||
lsp-lines.enable = true; # Display lsp hints in lines
|
||||
lsp-signature.enable = true; # Show function signature when typing
|
||||
lualine.enable = true; # Statusline
|
||||
render-markdown.enable = true;
|
||||
treesitter.enable = true;
|
||||
web-devicons.enable = true;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user