summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-04-21 11:45:55 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commitd3f95c42af16036ef3193fd6868bb5e9dbdc395f (patch)
tree3abde033af3e865887d90c44883bfa7c1805e1c9
parent6b6ae1bef398b58ab8744b6ef4faf67569e90187 (diff)
[nvim] add "Markdown Preview" config to disable sync scroll
-rw-r--r--.config/nvim/init.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 22f599a..ba0b9af 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -127,6 +127,13 @@ require('indent_blankline').setup {
EOF
+" Markdown Preview
+
+let g:mkdp_preview_options = {
+ \ 'disable_sync_scroll': 1
+\ }
+
+
" LSP
lua <<EOF