Signed-off-by: Daniel M. Capella <polyzen@archlinux.org> --- src/vim/ftplugin/PKGBUILD.vim | 2 +- src/vim/syntax/PKGBUILD.vim | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/vim/ftplugin/PKGBUILD.vim b/src/vim/ftplugin/PKGBUILD.vim index cbb46a9..66da6f4 100644 --- a/src/vim/ftplugin/PKGBUILD.vim +++ b/src/vim/ftplugin/PKGBUILD.vim @@ -1,4 +1,4 @@ -if exists("b:did_ftplugin") | finish | endif +if exists('b:did_ftplugin') | finish | endif let b:did_ftplugin = 1 setlocal commentstring=#\ %s diff --git a/src/vim/syntax/PKGBUILD.vim b/src/vim/syntax/PKGBUILD.vim index 37d0ab3..17afa35 100644 --- a/src/vim/syntax/PKGBUILD.vim +++ b/src/vim/syntax/PKGBUILD.vim @@ -6,13 +6,13 @@ " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded -if version < 600 +if v:version < 600 syntax clear -elseif exists("b:current_syntax") +elseif exists('b:current_syntax') finish endif -let b:main_syntax = "sh" +let b:main_syntax = 'sh' let b:is_bash = 1 runtime! syntax/sh.vim @@ -330,6 +330,6 @@ hi def link pbDate Special "syntax include @SHELL syntax/sh.vim "syntax region BUILD start=/^build()/ end=/^}/ contains=@SHELL -"let b:current_syntax = "PKGBUILD" +"let b:current_syntax = 'PKGBUILD' " vim: ft=vim -- 2.20.1