Skip to content

Commit

Permalink
add vim-perl. add multibyte check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Hayter committed Nov 28, 2011
1 parent ff9b7d4 commit 374a435
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -37,3 +37,6 @@
[submodule "available-bundles/snipmate"]
path = available-bundles/snipmate
url = http://github.com/msanders/snipmate.vim.git
[submodule "available-bundles/vim-perl"]
path = available-bundles/vim-perl
url = git://github.com/petdance/vim-perl.git
1 change: 1 addition & 0 deletions available-bundles/vim-perl
Submodule vim-perl added at 252d7a
12 changes: 11 additions & 1 deletion vimrc
Expand Up @@ -3,6 +3,8 @@ let delimitMate_expand_cr=1

" pathogen
call pathogen#infect()

set nocompatible
syntax on
filetype plugin indent on

Expand All @@ -27,7 +29,15 @@ let mapleader=","

" toggle show invisible chars
nmap <leader>l :set list!<CR>
set listchars=tab:▸\ ,eol " ▸:U+25b8 ¬:U+00ac
if has("multibyte")
if &encoding == 'utf-8')
set listchars=tab:▸\ ,eol " ▸:U+25b8 ¬:U+00ac
endif
else
set listchars=tab\ ,eol " ▸:U+25b8 ¬:U+00ac
endif

highlight NonText ctermfg=cyan
" highlight SpecialKey guifg=#RRGGBB

Expand Down

0 comments on commit 374a435

Please sign in to comment.