add markdown rendering in neovim
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
AntiAliasFonts=true
|
AntiAliasFonts=true
|
||||||
BoldIntense=true
|
BoldIntense=true
|
||||||
ColorScheme=Breeze
|
ColorScheme=Breeze
|
||||||
Font=FiraCode Nerd Font Mono,12,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium
|
Font=FiraCode Nerd Font Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
|
||||||
UseFontBrailleChararacters=true
|
UseFontBrailleChararacters=true
|
||||||
UseFontLineChararacters=false
|
UseFontLineChararacters=false
|
||||||
|
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ vim.pack.add({
|
|||||||
"https://github.com/hrsh7th/nvim-cmp",
|
"https://github.com/hrsh7th/nvim-cmp",
|
||||||
"https://github.com/hrsh7th/cmp-nvim-lsp",
|
"https://github.com/hrsh7th/cmp-nvim-lsp",
|
||||||
"https://github.com/hrsh7th/cmp-buffer",
|
"https://github.com/hrsh7th/cmp-buffer",
|
||||||
|
"https://github.com/MeanderingProgrammer/render-markdown.nvim",
|
||||||
"https://github.com/williamboman/mason.nvim",
|
"https://github.com/williamboman/mason.nvim",
|
||||||
"https://github.com/williamboman/mason-lspconfig.nvim",
|
"https://github.com/williamboman/mason-lspconfig.nvim",
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ require('plugins.nvim-tree')
|
|||||||
require('plugins.telescope')
|
require('plugins.telescope')
|
||||||
require('plugins.treesitter')
|
require('plugins.treesitter')
|
||||||
require('plugins.cmp')
|
require('plugins.cmp')
|
||||||
|
require('plugins.render-markdown')
|
||||||
require('plugins.mason')
|
require('plugins.mason')
|
||||||
|
|||||||
10
nvim/.config/nvim/lua/plugins/render-markdown.lua
Normal file
10
nvim/.config/nvim/lua/plugins/render-markdown.lua
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
require('render-markdown').setup({
|
||||||
|
completions = {
|
||||||
|
lsp = {
|
||||||
|
enabled = true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
heading = {
|
||||||
|
backgrounds = { '' },
|
||||||
|
},
|
||||||
|
})
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
require('nvim-treesitter.configs').setup({
|
require('nvim-treesitter.configs').setup({
|
||||||
|
branch = "main",
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"css",
|
"css",
|
||||||
@@ -9,17 +10,18 @@ require('nvim-treesitter.configs').setup({
|
|||||||
"json",
|
"json",
|
||||||
"lua",
|
"lua",
|
||||||
"markdown",
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
"python",
|
"python",
|
||||||
"query",
|
"query",
|
||||||
"regex",
|
"regex",
|
||||||
"scss",
|
"scss",
|
||||||
"svelte",
|
"svelte",
|
||||||
"tmux",
|
"tmux",
|
||||||
|
"tsx",
|
||||||
"typescript",
|
"typescript",
|
||||||
"vim",
|
"vim",
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
"yaml",
|
"yaml",
|
||||||
"tsx",
|
|
||||||
},
|
},
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|||||||
Reference in New Issue
Block a user