summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2019-11-27 08:58:28 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2019-11-27 08:58:28 +0100
commit18a9a7065971f72f7f95d08a7e68cbb4f2b35b9f (patch)
tree6b97025d3a4014213184462f3b9e31cb3e13db91 /nvim
parent3389e4fdde8fd612fd8a54db28d97f62ca729a7f (diff)
sync syntax
Diffstat (limited to 'nvim')
-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