Skip to content

Commit

Permalink
Add snippet, zencoding, XDebug for PHP and some spell data
Browse files Browse the repository at this point in the history
  • Loading branch information
lermit committed May 7, 2012
1 parent e7c408a commit 1eedf91
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@
[submodule "bundle/ShowFunc"]
path = bundle/ShowFunc
url = https://github.com/vim-scripts/ShowFunc.vim.git
[submodule "bundle/zencoding"]
path = bundle/zencoding
url = https://github.com/mattn/zencoding-vim.git
[submodule "bundle/XDebug-DBGp-client-for-PHP"]
path = bundle/XDebug-DBGp-client-for-PHP
url = https://github.com/vim-scripts/XDebug-DBGp-client-for-PHP.git
1 change: 1 addition & 0 deletions bundle/XDebug-DBGp-client-for-PHP
1 change: 1 addition & 0 deletions bundle/zencoding
Submodule zencoding added at ad19b7
14 changes: 7 additions & 7 deletions plugin/php-doc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ let g:pdv_cfg_CommentSingle = "//"

" Default values
let g:pdv_cfg_Type = "mixed"
let g:pdv_cfg_Package = ""
let g:pdv_cfg_Version = "1.5"
let g:pdv_cfg_Author = "Romain THERRAT <[email protected]"
let g:pdv_cfg_Copyright = "1997-2005 The PHP Group"
let g:pdv_cfg_License = "BSD"
let g:pdv_cfg_Package = "Administrateur-linux.com"
let g:pdv_cfg_Author = "Romain THERRAT <[email protected]>"
let g:pdv_cfg_Copyright = "2012 Romain THERRAT"
let g:pdv_cfg_License = "LGPL http://www.gnu.org/copyleft/lesser.html"
let g:pdv_cfg_Version = "Release: 0.1"

let g:pdv_cfg_ReturnVal = "void"

Expand Down Expand Up @@ -421,10 +421,10 @@ func! PhpDocClass()
exe l:txtBOL . g:pdv_cfg_Commentn . "@final" . g:pdv_cfg_EOL
endif
exe l:txtBOL . g:pdv_cfg_Commentn . "@package " . g:pdv_cfg_Package . g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@version " . g:pdv_cfg_Version . g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@copyright " . g:pdv_cfg_Copyright . g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@author " . g:pdv_cfg_Author g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@copyright " . g:pdv_cfg_Copyright . g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@license " . g:pdv_cfg_License . g:pdv_cfg_EOL
exe l:txtBOL . g:pdv_cfg_Commentn . "@version " . g:pdv_cfg_Version . g:pdv_cfg_EOL

" Close the comment block.
exe l:txtBOL . g:pdv_cfg_CommentTail . g:pdv_cfg_EOL
Expand Down
41 changes: 41 additions & 0 deletions snippets/tex.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# \item
snippet it
\item ${1}
snippet fsub
\subsection{${1:section name}} % (fold)
\begin{frame}
\frametitle{${3:$1}}
${4}
\end{frame}
% subsection $2 (end)
snippet fsec
\section{${1:section name}} % (fold)
\begin{frame}
\frametitle{${2:$1}}
${4}
\end{frame}
% section $1 (end)
snippet fsubs
\subsubsection{${1:section name}} % (fold)
\begin{frame}
\frametitle{${2:$1}}
${4}
\end{frame}
% subsubsection $1 (end)
snippet frame
\begin{frame}
\frametitle{${1:frame title}}
${2}
\end{frame}
snippet block
\begin{block}{${1:block title}}
${2}
\end{block}
snippet emph
\emph{${1}}
snippet vblock
\begin{block}{${1:block title}}
\scriptsize\verbatiminput{${2}}
\end{block}
snippet script
\scriptsize ${1}\normalsize
17 changes: 17 additions & 0 deletions spell/fr.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,20 @@ XHTML
html
UTF-8
bugtracker
propel
symfony
sfPropelORMPlugin
framework
documentclass
moment-là
plugin
TP
Instancier
validateur
widget
l'évolutivité
PHP
bootstrap
instancierons
faudra-t-il
non-régression
Binary file modified spell/fr.utf-8.add.spl
Binary file not shown.
1 change: 1 addition & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ filetype plugin on

" Activation de la correction grammaticale
let g:languagetool_jar=$HOME .'/software/languagetool/1.5/LanguageTool.jar'
let g:languagetool_disable_rules="FRENCH_WHITESPACE,WHITESPACE_RULE,FIXTURE,EMAIL"
setlocal spell spelllang=fr
set nospell

Expand Down

0 comments on commit 1eedf91

Please sign in to comment.