[DFW.pm] Not only was Patrick right, but Vim backs him up...
Tommy Butler
dfwpm at internetalias.net
Thu Feb 21 15:30:43 PST 2013
That's great, thanks for the tip Matt!
What does your .vimrc look like? I always like to see what goodies
there are to be found in the .vimrc files of fellow Perl hackers :-D
Mine looks like this:
:set nocompatible
:syntax enable
:set bg=dark
:set ts=3
:set sw=3
:set ic
:set ai
:set si
:set expandtab
:set modeline
:set ruler
:set showmatch
:set number
:set nohlsearch
:autocmd BufWritePre * :%s/\s\+$//e
:nnoremap <F5> :set invpaste paste?<CR>
:set pastetoggle=<F5>
:filetype plugin indent on
:set foldmethod=syntax
:let perl_fold = 1
":set cursorline << that can get annoying
":set cursorcolumn << and that too
" vim: set ft=vim :
--Tommy Butler
On 02/21/2013 12:37 PM, Matt Musgrove wrote:
>
> I typically use TODO and BUG (something I added to my vim
> installation). You can add it to yours easily enough. Edit
> ~/.vim/syntax/perl.vim and add the following lines in the appropriate
> sections:
>
> syn match perlBug "\<\(BUG\)\:\?\>" contained
>
> syn match perlComment "#.*" contains=perlTodo,perlBug
>
> HiLink perlBug ErrorMsg
>
>
>
>
>
> Newer versions of vim-perl also support NOTE.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20130221/dc3e97bb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2430 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20130221/dc3e97bb/attachment.png>
More information about the Dfw-pm
mailing list