better markdown rendering in lsp-popup, change cursor
This commit is contained in:
parent
c815f1f513
commit
3b0ce927ab
2 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,8 @@
|
|||
-- Settings
|
||||
|
||||
-- cursor
|
||||
vim.api.nvim_set_option("guicursor","n-v-c-sm:hor100-Cursor,i-ci-ve:ver100-iCursor,r-cr-o:hor40,a:blinkwait700-blinkoff400-blinkon250")
|
||||
-- cursor
|
||||
-- vim.api.nvim_set_option("guicursor","n-v-c-sm:hor100-Cursor,i-ci-ve:ver100-iCursor,r-cr-o:hor40,a:blinkwait700-blinkoff400-blinkon250")
|
||||
vim.api.nvim_set_option("guicursor", "n:block-blinkon500-blinkoff500,o:block,i-ci:ver40-blinkon500-blinkoff500,sm-c-cr-v-ve:hor40-blinkon500-blinkoff500,t:block-blinkon500-blinkoff500-TermCursor")
|
||||
|
||||
-- disable mouse
|
||||
vim.api.nvim_set_option("mouse","")
|
||||
|
@ -55,7 +56,7 @@ vim.bo.spelllang = "de"
|
|||
vim.wo.cursorline = true
|
||||
vim.wo.cursorlineopt = "both"
|
||||
|
||||
-- splitting below and right
|
||||
-- splitting below and right
|
||||
vim.api.nvim_set_option("splitbelow",true)
|
||||
vim.api.nvim_set_option("splitright",true)
|
||||
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
return {
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
lazy = true,
|
||||
ft = "markdown",
|
||||
opts = {
|
||||
overrides = {
|
||||
buftype = {
|
||||
nofile = { enabled = false },
|
||||
nofile = { heading = { enabled = false }, sign = { enabled = false }, code = { sign = false, width = 'block', left_pad = 0, right_pad = 0, border = 'hide' } },
|
||||
},
|
||||
},
|
||||
completions = { lsp = { enabled = true } },
|
||||
|
@ -83,8 +81,6 @@ return {
|
|||
quote = { raw = '[!QUOTE]', rendered = ' Quote', highlight = 'RenderMarkdownQuote', category = 'obsidian' },
|
||||
cite = { raw = '[!CITE]', rendered = ' Cite', highlight = 'RenderMarkdownQuote', category = 'obsidian' },
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue