From 18a9a7065971f72f7f95d08a7e68cbb4f2b35b9f Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 27 Nov 2019 08:58:28 +0100 Subject: sync syntax --- nvim/nvim/ftplugin/markdown.vim | 3 +++ nvim/nvim/ftplugin/scheme.vim | 3 +++ 2 files changed, 6 insertions(+) diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim index 2a03e5e..7395266 100644 --- a/nvim/nvim/ftplugin/markdown.vim +++ b/nvim/nvim/ftplugin/markdown.vim @@ -11,3 +11,6 @@ augroup SENTENCES augroup END let g:markdown_folding=1 + +" Syncronize syntax from the beginning of the file +:syntax sync fromstart diff --git a/nvim/nvim/ftplugin/scheme.vim b/nvim/nvim/ftplugin/scheme.vim index 9659508..ebf87d8 100644 --- a/nvim/nvim/ftplugin/scheme.vim +++ b/nvim/nvim/ftplugin/scheme.vim @@ -1,2 +1,5 @@ setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2 setlocal autoindent + +" Syncronize syntax from the beginning of the file +:syntax sync fromstart -- cgit v1.2.3