From: Sergey Matveev Date: Wed, 5 Aug 2020 09:28:15 +0000 (+0300) Subject: Unify quotes X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=dd629970f623247819f0e68652341b32f7d72f7e Unify quotes --- diff --git a/vim/.vim/plugin/ctags.vim b/vim/.vim/plugin/ctags.vim index 859020e..8f66a48 100644 --- a/vim/.vim/plugin/ctags.vim +++ b/vim/.vim/plugin/ctags.vim @@ -1,4 +1,4 @@ -" Exuberant Ctags creator +" Universal Ctags creator " Maintainer: Sergey Matveev " License: GNU General Public License version 3 of the License or later " @@ -13,14 +13,14 @@ function! s:ctags(lang, onlyCmd, verbose) let src = getcwd() endif let cmdline = [ - \'uctags', - \'--languages=' . a:lang, - \'--python-kinds=-i', - \'--c++-kinds=+p', - \'--recurse', + \"uctags", + \"--languages=" . a:lang, + \"--python-kinds=-i", + \"--c++-kinds=+p", + \"--recurse", \] - if a:verbose == v:true | let cmdline += ['--verbose'] | endif - let cmdline += ['-f', dst, src] + if a:verbose == v:true | let cmdline += ["--verbose"] | endif + let cmdline += ["-f", dst, src] if a:onlyCmd == v:true echo join(cmdline, " ") return diff --git a/vim/.vim/plugin/defsplit.vim b/vim/.vim/plugin/defsplit.vim index f995c8a..ab422c0 100644 --- a/vim/.vim/plugin/defsplit.vim +++ b/vim/.vim/plugin/defsplit.vim @@ -71,7 +71,7 @@ function! s:defsplit(brs_allowable, single_line_comma, ...) let [curly, round, squar, outbuf] = [0, 0, 0, ""] let ready = [strpart(line, 0, brfirst + 1)] let trailing_comma = 1 - for c in split(line[brfirst + 1 : brlast-1], '\zs') + for c in split(line[brfirst + 1 : brlast-1], "\zs") if c ==# "*" | let trailing_comma = 0 | endif if outbuf ==# "" && c ==# " " | continue | endif let outbuf .= c diff --git a/vim/.vim/plugin/vimrclocal.vim b/vim/.vim/plugin/vimrclocal.vim index 18185e0..712e259 100644 --- a/vim/.vim/plugin/vimrclocal.vim +++ b/vim/.vim/plugin/vimrclocal.vim @@ -1,3 +1,3 @@ -if filereadable('.vimrc.local') +if filereadable(".vimrc.local") source .vimrc.local endif