summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/nvim/ftplugin/markdown.vim3
-rw-r--r--nvim/nvim/ftplugin/scheme.vim3
2 files changed, 6 insertions, 0 deletions
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